~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/embedded_innodb/status_table_function.cc

merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
 
147
147
static LibInnoDBStatusTool *status_tool;
148
148
 
149
 
int status_table_function_initialize(drizzled::plugin::Registry &registry)
 
149
int status_table_function_initialize(drizzled::plugin::Context &context)
150
150
{
151
151
  status_tool= new(std::nothrow)LibInnoDBStatusTool();
152
 
  registry.add(status_tool);
153
 
 
154
 
  return 0;
155
 
}
156
 
 
157
 
int status_table_function_finalize(drizzled::plugin::Registry &registry)
158
 
{
159
 
  registry.remove(status_tool);
160
 
  delete status_tool;
 
152
  context.add(status_tool);
161
153
 
162
154
  return 0;
163
155
}