|
bool | is_transaction_empty (THD *thd) |
| Check if the the transaction is empty. More...
|
|
int | check_trx_rw_engines (THD *thd, Transaction_ctx::enum_trx_scope trx_scope) |
| Check if the transaction has no rw flag set for any of the storage engines. More...
|
|
bool | is_empty_transaction_in_binlog_cache (const THD *thd) |
| Check if at least one of transacaction and statement binlog caches contains an empty transaction, other one is empty or contains an empty transaction, which has two binlog events "BEGIN" and "COMMIT". More...
|
|
bool | trans_has_updated_trans_table (const THD *thd) |
| This function checks if a transactional table was updated by the current transaction. More...
|
|
bool | stmt_has_updated_trans_table (Ha_trx_info_list const &ha_list) |
| This function checks if a transactional table was updated by the current statement. More...
|
|
bool | ending_trans (THD *thd, const bool all) |
| This function checks if a transaction, either a multi-statement or a single statement transaction is about to commit or not. More...
|
|
bool | ending_single_stmt_trans (THD *thd, const bool all) |
| This function checks if a single statement transaction is about to commit or not. More...
|
|
bool | trans_cannot_safely_rollback (const THD *thd) |
| This function checks if a transaction cannot be rolled back safely. More...
|
|
bool | stmt_cannot_safely_rollback (const THD *thd) |
| This function checks if current statement cannot be rollded back safely. More...
|
|
int | log_loaded_block (IO_CACHE *file) |
| Load data's io cache specific hook to be executed before a chunk of data is being read into the cache's buffer The function instantiates and writes into the binlog replication events along LOAD DATA processing. More...
|
|
bool | purge_source_logs_to_file (THD *thd, const char *to_log) |
| Purges the binary log files up to the file name passed as a paramenter. More...
|
|
bool | purge_source_logs_before_date (THD *thd, time_t purge_time) |
| Execute a PURGE BINARY LOGS BEFORE <date> command. More...
|
|
bool | show_binlog_events (THD *thd, MYSQL_BIN_LOG *binary_log) |
|
bool | mysql_show_binlog_events (THD *thd) |
| Execute a SHOW BINLOG EVENTS statement. More...
|
|
void | check_binlog_cache_size (THD *thd) |
| Checks if the BINLOG_CACHE_SIZE's value is greater than MAX_BINLOG_CACHE_SIZE. More...
|
|
void | check_binlog_stmt_cache_size (THD *thd) |
| Checks if the BINLOG_STMT_CACHE_SIZE's value is greater than MAX_BINLOG_STMT_CACHE_SIZE. More...
|
|
bool | binlog_enabled () |
| Check whether binlog_hton has valid slot and enabled. More...
|
|
int | query_error_code (const THD *thd, bool not_killed) |
|