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

Method binlog_create_tmp_table

sql/sql_class.h:3769–3774  ·  view source on GitHub ↗

Should we binlog a CREATE TEMPORARY statement. This should happen only if all of the following is true - binlog format is either BINLOG_FORMAT_STMT or BINLOG_FORMAT_MIXED and the corresponding bit is set in binlog_format_for_create_temporary. - The server is not in readonly mode or this is a slave thread. - Slave threads are not affected by readonly in this case. Note

Source from the content-addressed store, hash-verified

3767 @result 0 CREATE should not be logged
3768 */
3769 bool binlog_create_tmp_table()
3770 {
3771 return (((1ULL << variables.binlog_format) &
3772 variables.create_temporary_table_binlog_formats) &&
3773 (!opt_readonly || slave_thread));
3774 }
3775 /**
3776 Determine if binlogging is disabled for this session
3777 @retval 0 if the current statement binlogging is disabled

Callers 4

prepare_eofMethod · 0.80
binlog_create_tableFunction · 0.80
mysql_create_tableFunction · 0.80
mysql_create_like_tableFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected