~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/dictionary.cc

  • Committer: Monty Taylor
  • Date: 2010-03-06 02:08:13 UTC
  • mto: This revision was merged to the branch mainline in revision 1381.
  • Revision ID: mordred@inaugust.com-20100306020813-c37d0b39004nl1zf
Remove plugin deinit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
  return 0;
69
69
}
70
70
 
71
 
static int finalize(drizzled::plugin::Context &context)
72
 
{
73
 
  context.remove(columns);
74
 
  context.remove(index_parts);
75
 
  context.remove(indexes);
76
 
  context.remove(local_tables);
77
 
  context.remove(referential_constraints);
78
 
  context.remove(schema_names);
79
 
  context.remove(schemas);
80
 
  context.remove(show_indexes);
81
 
  context.remove(show_columns);
82
 
  context.remove(table_constraints);
83
 
  context.remove(table_status);
84
 
  context.remove(tables);
85
 
  delete columns;
86
 
  delete index_parts;
87
 
  delete indexes;
88
 
  delete local_tables;
89
 
  delete referential_constraints;
90
 
  delete schema_names;
91
 
  delete schemas;
92
 
  delete show_columns;
93
 
  delete show_indexes;
94
 
  delete table_constraints;
95
 
  delete table_status;
96
 
  delete tables;
97
 
 
98
 
  return 0;
99
 
}
100
 
 
101
71
DRIZZLE_DECLARE_PLUGIN
102
72
{
103
73
  DRIZZLE_VERSION_ID,
107
77
  "Data Dictionary for schema, table, column, indexes, etc",
108
78
  PLUGIN_LICENSE_GPL,
109
79
  init,
110
 
  finalize,
111
80
  NULL,
112
81
  NULL
113
82
}