MCPcopy Create free account
hub / github.com/MariaDB/server / binlog_table_should_be_logged

Method binlog_table_should_be_logged

sql/sql_class.cc:7547–7553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7545*/
7546
7547bool THD::binlog_table_should_be_logged(const LEX_CSTRING *db)
7548{
7549 return (mysql_bin_log.is_open() &&
7550 (variables.option_bits & OPTION_BIN_LOG) &&
7551 (wsrep_binlog_format(variables.binlog_format) != BINLOG_FORMAT_STMT ||
7552 binlog_filter->db_ok(db->str)));
7553}
7554
7555/* Declare in unnamed namespace. */
7556CPP_UNNAMED_NS_START

Callers 3

binlog_create_tableFunction · 0.80
binlog_drop_tableFunction · 0.80
mysql_alter_tableFunction · 0.80

Calls 2

db_okMethod · 0.80
is_openMethod · 0.45

Tested by

no test coverage detected