~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/catalog/local.cc

  • Committer: Mark Atwood
  • Date: 2011-10-05 15:24:11 UTC
  • mfrom: (2420.2.4 rf)
  • Revision ID: me@mark.atwood.name-20111005152411-xksdn4vulhmtz2x4
mergeĀ lp:~olafvdspek/drizzle/refactor1a

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
 
22
21
#include <config.h>
23
 
 
24
22
#include <drizzled/catalog/local.h>
25
23
#include <drizzled/plugin/catalog.h>
26
 
 
27
24
#include <boost/thread/once.hpp>
28
25
 
29
 
namespace drizzled
30
 
{
31
 
namespace catalog
32
 
{
 
26
namespace drizzled {
 
27
namespace catalog {
33
28
 
34
29
/* Setup the local catalog for us to use with session */
35
 
static identifier::Catalog default_catalog("LOCAL");
 
30
static identifier::Catalog default_catalog(str_ref("LOCAL"));
36
31
static catalog::Instance::shared_ptr _local_catalog;
37
32
 
38
33
static boost::once_flag run_once= BOOST_ONCE_INIT;