~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/catalog/local.cc

  • Committer: Mark Atwood
  • Date: 2011-10-06 04:38:39 UTC
  • mfrom: (2426.3.1 drizzle-docs71)
  • Revision ID: me@mark.atwood.name-20111006043839-qrtu9wtrr04k7ie4
mergeĀ lp:~hingo/drizzle/drizzle-new-pandora-pluginini-keys

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;