#include <config.h>
#include "transaction_log.h"
#include "transaction_log_applier.h"
#include "transaction_log_index.h"
#include "data_dictionary_schema.h"
#include "print_transaction_message.h"
#include "hexdump_transaction_message.h"
#include <errno.h>
#include <drizzled/plugin/plugin.h>
#include <drizzled/session.h>
#include <drizzled/gettext.h>
#include <boost/program_options.hpp>
#include <drizzled/module/option_map.h>
#include <drizzled/plugin/function.h>
Go to the source code of this file.
Typedefs | |
typedef constrained_check < uint32_t, 2, 0 > | flush_constraint |
typedef constrained_check < uint32_t, 8192, 4 > | write_buffers_constraint |
Functions | |
static void | set_truncate_debug (Session *, sql_var_t) |
static int | init (drizzled::module::Context &context) |
static void | init_options (drizzled::module::option_context &context) |
DRIZZLE_PLUGIN (init, NULL, init_options) | |
Variables | |
static const char | DEFAULT_LOG_FILE_PATH [] = "transaction.log" |
static bool | sysvar_transaction_log_enabled = false |
static string | sysvar_transaction_log_file |
static bool | sysvar_transaction_log_truncate_debug = false |
static bool | sysvar_transaction_log_checksum_enabled = false |
static flush_constraint | sysvar_transaction_log_flush_frequency |
static write_buffers_constraint | sysvar_transaction_log_num_write_buffers |
static const char | DEFAULT_USE_REPLICATOR [] = "default" |
static string | sysvar_transaction_log_use_replicator |
static TransactionLogTool * | transaction_log_tool |
static TransactionLogEntriesTool * | transaction_log_entries_tool |
static TransactionLogTransactionsTool * | transaction_log_transactions_tool |
TransactionLogIndex * | transaction_log_index |
TransactionLog * | transaction_log |
TransactionLogApplier * | transaction_log_applier |
plugin::Create_function < PrintTransactionMessageFunction > * | print_transaction_message_func_factory |
plugin::Create_function < HexdumpTransactionMessageFunction > * | hexdump_transaction_message_func_factory |
Transaction log module initialization and plugin registration.
Definition in file module.cc.
typedef constrained_check<uint32_t, 2, 0> flush_constraint |
Numeric option controlling the sync/flush behaviour of the transaction log. Options are:
TransactionLog::FLUSH_FREQUENCY_OS == 0 ... let OS do sync'ing TransactionLog::FLUSH_FREQUENCY_EVERY_WRITE == 1 ... sync on every write TransactionLog::FLUSH_FREQUENCY_EVERY_SECOND == 2 ... sync at most once a second
typedef constrained_check<uint32_t, 8192, 4> write_buffers_constraint |
const char DEFAULT_LOG_FILE_PATH[] = "transaction.log" [static] |
const char DEFAULT_USE_REPLICATOR[] = "default" [static] |
plugin::Create_function<PrintTransactionMessageFunction>* print_transaction_message_func_factory |
Defined in print_transaction_message.cc
Definition at line 61 of file print_transaction_message.cc.
bool sysvar_transaction_log_checksum_enabled = false [static] |
bool sysvar_transaction_log_enabled = false [static] |
string sysvar_transaction_log_file [static] |
bool sysvar_transaction_log_truncate_debug = false [static] |
Transaction Log descriptor defined in transaction_log.cc
Defined in transaction_log.cc
Definition at line 96 of file transaction_log.cc.
Transaction Log descriptor defined in transaction_log.cc
Definition at line 60 of file transaction_log_applier.cc.
Index defined in transaction_log_index.cc
Definition at line 41 of file transaction_log_index.cc.
TransactionLogTool* transaction_log_tool [static] |