~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/catalog/module.cc

  • Committer: Brian Aker
  • Date: 2010-12-01 04:29:10 UTC
  • mto: (2017.3.1 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2073.
  • Revision ID: brian@tangent.org-20101201042910-imwwj5i3mh5pm75d
Merging in the first pass through the catalog work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include "config.h"
22
22
#include "plugin/catalog/module.h"
23
23
 
24
 
using namespace drizzled;
25
 
 
26
 
static int init(module::Context &context)
 
24
static int init(drizzled::module::Context &context)
27
25
{
28
 
  context.add(new plugin::Create_function<catalog::Create>("create_catalog"));
29
 
  context.add(new plugin::Create_function<catalog::Drop>("drop_catalog"));
 
26
  context.add(new drizzled::plugin::Create_function<catalog::functions::Create>("create_catalog"));
 
27
  context.add(new drizzled::plugin::Create_function<catalog::functions::Drop>("drop_catalog"));
 
28
  context.add(new catalog::Filesystem());
 
29
  context.add(new catalog::tables::Catalogs());
30
30
 
31
31
  return 0;
32
32
}
34
34
DRIZZLE_DECLARE_PLUGIN
35
35
{
36
36
  DRIZZLE_VERSION_ID,
37
 
  "Catalog functions",
 
37
  "Catalog System",
38
38
  "0.1",
39
39
  "Brian Aker",
40
 
  "Alternative catalog functions",
41
 
  PLUGIN_LICENSE_GPL,
 
40
  "Basic Catalog functions, data dictionary, and system.",
 
41
  drizzled::PLUGIN_LICENSE_GPL,
42
42
  init,
43
43
  NULL,
44
44
  NULL