~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/module.cc

  • Committer: Andrew Hutchings
  • Date: 2011-01-23 21:32:31 UTC
  • mto: (2108.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2109.
  • Revision ID: andrew@linuxjedi.co.uk-20110123213231-dp2r4enepa9k4g36
Convert all unit tests to boost::test
Add pandora support for boost::test
Remove pandora support for gtest

Show diffs side-by-side

added added

removed removed

Lines of Context:
255
255
{
256
256
  context("truncate-debug",
257
257
          po::value<bool>(&sysvar_transaction_log_truncate_debug)->default_value(false)->zero_tokens(),
258
 
          N_("DEBUGGING - Truncate transaction log"));
 
258
          _("DEBUGGING - Truncate transaction log"));
259
259
  context("enable-checksum",
260
260
          po::value<bool>(&sysvar_transaction_log_checksum_enabled)->default_value(false)->zero_tokens(),
261
 
          N_("Enable CRC32 Checksumming of each written transaction log entry"));  
 
261
          _("Enable CRC32 Checksumming of each written transaction log entry"));  
262
262
  context("enable",
263
263
          po::value<bool>(&sysvar_transaction_log_enabled)->default_value(false)->zero_tokens(),
264
 
          N_("Enable transaction log"));
 
264
          _("Enable transaction log"));
265
265
  context("file",
266
266
          po::value<string>(&sysvar_transaction_log_file)->default_value(DEFAULT_LOG_FILE_PATH),
267
 
          N_("Path to the file to use for transaction log"));
 
267
          _("Path to the file to use for transaction log"));
268
268
  context("use-replicator",
269
269
          po::value<string>(&sysvar_transaction_log_use_replicator)->default_value(DEFAULT_USE_REPLICATOR),
270
 
          N_("Name of the replicator plugin to use (default='default_replicator')")); 
 
270
          _("Name of the replicator plugin to use (default='default_replicator')")); 
271
271
  context("flush-frequency",
272
272
          po::value<flush_constraint>(&sysvar_transaction_log_flush_frequency)->default_value(0),
273
 
          N_("0 == rely on operating system to sync log file (default), 1 == sync file at each transaction write, 2 == sync log file once per second"));
 
273
          _("0 == rely on operating system to sync log file (default), 1 == sync file at each transaction write, 2 == sync log file once per second"));
274
274
  context("num-write-buffers",
275
275
          po::value<write_buffers_constraint>(&sysvar_transaction_log_num_write_buffers)->default_value(8),
276
 
          N_("Number of slots for in-memory write buffers (default=8)."));
 
276
          _("Number of slots for in-memory write buffers (default=8)."));
277
277
}
278
278
 
279
279
DRIZZLE_PLUGIN(init, NULL, init_options);