~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_query/logging_query.cc

  • Committer: Andrew Hutchings
  • Date: 2011-01-10 20:31:03 UTC
  • mto: (2070.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2071.
  • Revision ID: andrew@linuxjedi.co.uk-20110110203103-c2dq7jsacsehiure
Fix intl domain
Add intl domain for drizzledump
Fix boost::program_options translation output

Show diffs side-by-side

added added

removed removed

Lines of Context:
316
316
{
317
317
  context("enable",
318
318
          po::value<bool>(&sysvar_logging_query_enable)->default_value(false)->zero_tokens(),
319
 
          N_("Enable logging to CSV file"));
 
319
          _("Enable logging to CSV file"));
320
320
  context("filename",
321
321
          po::value<string>(),
322
 
          N_("File to log to"));
 
322
          _("File to log to"));
323
323
  context("pcre",
324
324
          po::value<string>()->default_value(""),
325
 
          N_("PCRE to match the query against"));
 
325
          _("PCRE to match the query against"));
326
326
  context("threshold-slow",
327
327
          po::value<uint32_constraint>(&sysvar_logging_query_threshold_slow)->default_value(0),
328
 
          N_("Threshold for logging slow queries, in microseconds"));
 
328
          _("Threshold for logging slow queries, in microseconds"));
329
329
  context("threshold-big-resultset",
330
330
          po::value<uint32_constraint>(&sysvar_logging_query_threshold_big_resultset)->default_value(0),
331
 
          N_("Threshold for logging big queries, for rows returned"));
 
331
          _("Threshold for logging big queries, for rows returned"));
332
332
  context("threshold-big-examined",
333
333
          po::value<uint32_constraint>(&sysvar_logging_query_threshold_big_examined)->default_value(0),
334
 
          N_("Threshold for logging big queries, for rows examined"));
 
334
          _("Threshold for logging big queries, for rows examined"));
335
335
}
336
336
 
337
337
} /* namespace drizzle_plugin */