~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 21:07:45 UTC
  • mfrom: (2252.1.29 program-options)
  • mto: This revision was merged to the branch mainline in revision 2277.
  • Revision ID: kalebral@gmail.com-20110413210745-2e3tukhwa72zggcz
Merge Olaf - Refactor Program Options usage

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>()));