~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_query/logging_query.cc

  • Committer: Lee Bieber
  • Date: 2011-04-13 23:47:18 UTC
  • mfrom: (2276.1.2 build)
  • Revision ID: kalebral@gmail.com-20110413234718-uc6emsr6ms1szt4c
Merge Olaf - Refactor Program Options usage
Merge Andrew - 748064: Xtrabackup breaks trunk in GCC 4.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
297
297
 
298
298
static int logging_query_plugin_init(drizzled::module::Context &context)
299
299
{
300
 
 
301
300
  const module::option_map &vm= context.getOptions();
302
301
 
303
 
  if (vm.count("filename") > 0)
 
302
  if (vm.count("filename"))
304
303
  {
305
304
    context.add(new Logging_query(vm["filename"].as<string>(),
306
305
                                  vm["pcre"].as<string>()));