00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include <config.h>
00022 #include <plugin/schema_dictionary/dictionary.h>
00023
00024 using namespace drizzled;
00025
00026 static int init(drizzled::module::Context &context)
00027 {
00028 context.add(new ColumnsTool());
00029 context.add(new IndexPartsTool());
00030 context.add(new IndexesTool());
00031 context.add(new ForeignKeysTool());
00032 context.add(new SchemasTool());
00033 context.add(new TableConstraintsTool());
00034 context.add(new TablesTool());
00035
00036 return 0;
00037 }
00038
00039 DRIZZLE_DECLARE_PLUGIN
00040 {
00041 DRIZZLE_VERSION_ID,
00042 "schema_dictionary",
00043 "1.0",
00044 "Brian Aker",
00045 "Data Dictionary for schema, table, column, indexes, etc",
00046 PLUGIN_LICENSE_GPL,
00047 init,
00048 NULL,
00049 NULL
00050 }
00051 DRIZZLE_DECLARE_PLUGIN_END;