MySQL 9.5.0
Source Code Documentation
rpl_trx_tracking.cc File Reference
#include "sql/rpl_trx_tracking.h"
#include <algorithm>
#include <utility>
#include <vector>
#include "my_inttypes.h"
#include "my_sqlcommand.h"
#include "mysql/binlog/event/binlog_event.h"
#include "sql/binlog.h"
#include "sql/current_thd.h"
#include "sql/mysqld.h"
#include "sql/rpl_context.h"
#include "sql/rpl_transaction_write_set_ctx.h"
#include "sql/sql_alter.h"
#include "sql/sql_class.h"
#include "sql/sql_lex.h"
#include "sql/system_variables.h"
#include "sql/transaction_info.h"

Functions

static bool is_trx_unsafe_for_parallel_slave (const THD *thd)
 
static bool is_create_table_as_query_block (THD *thd)
 Check if the current statement is a CREATE TABLE ... SELECT (CTAS) or any other transactional DDL that should be treated similarly. More...
 

Function Documentation

◆ is_create_table_as_query_block()

static bool is_create_table_as_query_block ( THD thd)
static

Check if the current statement is a CREATE TABLE ... SELECT (CTAS) or any other transactional DDL that should be treated similarly.

Parameters
thdCurrent THD handle.
Returns
true if the statement is a CTAS or a transactional DDL.
false otherwise.

◆ is_trx_unsafe_for_parallel_slave()

static bool is_trx_unsafe_for_parallel_slave ( const THD thd)
static