~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_query/logging_query.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:
334
334
  return 0;
335
335
}
336
336
 
337
 
static int logging_query_plugin_deinit(drizzled::plugin::Context &context)
338
 
{
339
 
  context.remove(handler);
340
 
  delete handler;
341
 
 
342
 
  return 0;
343
 
}
344
 
 
345
337
static DRIZZLE_SYSVAR_BOOL(
346
338
  enable,
347
339
  sysvar_logging_query_enable,
424
416
  N_("Log queries to a CSV file"),
425
417
  PLUGIN_LICENSE_GPL,
426
418
  logging_query_plugin_init,
427
 
  logging_query_plugin_deinit,
428
419
  logging_query_system_variables,
429
420
  NULL
430
421
}