~kalebral-deactivatedaccount/drizzle/change-error_num_to_enum-2

« back to all changes in this revision

Viewing changes to plugin/transaction_log/module.cc

  • Committer: Monty Taylor
  • Date: 2010-08-17 02:54:36 UTC
  • mfrom: (1711.1.7 build)
  • Revision ID: mordred@inaugust.com-20100817025436-iuuqihjal6ubyffy
boost::program_options for InnoDB.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
extern plugin::Create_function<PrintTransactionMessageFunction> *print_transaction_message_func_factory;
112
112
extern plugin::Create_function<HexdumpTransactionMessageFunction> *hexdump_transaction_message_func_factory;
113
113
 
 
114
TransactionLog::~TransactionLog()
 
115
{
 
116
  /* Clear up any resources we've consumed */
 
117
  if (log_file != -1)
 
118
  {
 
119
    (void) close(log_file);
 
120
  }
 
121
 
 
122
  /* These get strdup'd below */
 
123
  free(sysvar_transaction_log_file);
 
124
  free(sysvar_transaction_log_use_replicator);
 
125
}
 
126
 
114
127
static int init(drizzled::module::Context &context)
115
128
{
116
129
  const module::option_map &vm= context.getOptions();