~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/transaction_log_index.h

Completes the blueprint for refactoring applier out of log descriptor.

1) Makes the TransactionLog class a simple descriptor for the actual transaction log file
2) Splits out the TransactionLogApplier into separate class with constructor taking a TransactionLog instance
3) Splits the module initialization stuff out into a file, /plugin/transaction_log/module.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
  void clearError();
118
118
 
119
119
  TransactionLog &log; ///< The transaction log instance
120
 
  int log_file; ///< File descriptor for the transaction log file
121
120
  int index_file; ///< File descriptor for the transaction log on-disk index file
122
121
  const std::string index_file_path; ///< Filename of the on-disk transaction log index
123
122
  bool has_error; ///< Index is in error mode?