23#ifndef BINLOG_TC_LOG_PROCESSING_INCLUDED
24#define BINLOG_TC_LOG_PROCESSING_INCLUDED
70 bool check_and_skip_flush_logs) = 0;
85 THD **out_queue_var) = 0;
114 bool run_after_commit) = 0;
An interface to delegate responsibility from MYSQL_BIN_LOG class.
Definition: binlog_tc_log_processing.h:37
virtual bool is_persistence_enabled()=0
Is persistence enabled.
virtual bool rollback_in_engines(THD *thd, bool all)=0
Rolls back the underlying transaction in storage engines.
virtual void finish_transaction_in_engines(THD *thd, bool all, bool run_after_commit)=0
Finishes the transaction in the engines.
virtual ~Binlog_tc_log_processing()=default
virtual int process_flush_stage_queue(MYSQL_BIN_LOG *binlog, my_off_t *total_bytes_var, THD **out_queue_var)=0
Execute the flush stage.
Binlog_tc_log_processing()=default
virtual THD * fetch_and_process_flush_stage_queue(bool check_and_skip_flush_logs)=0
Fetch and empty BINLOG_FLUSH_STAGE and COMMIT_ORDER_FLUSH_STAGE flush queues and flush transactions t...
virtual bool binlog_register_observer()=0
Register binlog observer.
virtual int prepare(MYSQL_BIN_LOG *binlog, THD *thd, bool all)=0
Prepare the transaction in the transaction coordinator.
virtual void binlog_unregister_observer()=0
Unregister binlog observer.
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
Some integer typedefs for easier portability.
ulonglong my_off_t
Definition: my_inttypes.h:72