23#ifndef BINLOG_TC_LOG_INCLUDED
24#define BINLOG_TC_LOG_INCLUDED
39 bool check_and_skip_flush_logs)
override;
42 THD **out_queue_var)
override;
45 bool run_after_commit)
override;
An interface to delegate responsibility from MYSQL_BIN_LOG class.
Definition: binlog_tc_log_processing.h:37
Definition: binlog_tc_log.h:31
Binlog_tc_log()
Definition: binlog_tc_log.cc:40
virtual ~Binlog_tc_log() override
Definition: binlog_tc_log.cc:42
virtual int process_flush_stage_queue(MYSQL_BIN_LOG *binlog, my_off_t *total_bytes_var, THD **out_queue_var) override
Execute the flush stage.
Definition: binlog_tc_log.cc:114
virtual bool rollback_in_engines(THD *thd, bool all) override
Rolls back the underlying transaction in storage engines.
Definition: binlog_tc_log.cc:162
virtual int prepare(MYSQL_BIN_LOG *binlog, THD *thd, bool all) override
Prepare the transaction in the transaction coordinator.
Definition: binlog_tc_log.cc:44
virtual void finish_transaction_in_engines(THD *thd, bool all, bool run_after_commit) override
Finishes the transaction in the engines.
Definition: binlog_tc_log.cc:166
virtual bool is_persistence_enabled() override
Is persistence enabled.
Definition: binlog_tc_log.cc:180
virtual THD * fetch_and_process_flush_stage_queue(bool check_and_skip_flush_logs) override
Fetch and empty BINLOG_FLUSH_STAGE and COMMIT_ORDER_FLUSH_STAGE flush queues and flush transactions t...
Definition: binlog_tc_log.cc:72
virtual bool binlog_register_observer() override
Register binlog observer.
Definition: binlog_tc_log.cc:177
virtual void binlog_unregister_observer() override
Unregister binlog observer.
Definition: binlog_tc_log.cc:178
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
ulonglong my_off_t
Definition: my_inttypes.h:72