mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-27832 disable binary logging for SQL SERVICE.
Binary logging is now disabled for the queries run by SQL SERVICE. The binlogging can be turned on with the 'SET SQL_LOG_BIN=On' query. Conflicts: sql/sql_prepare.cc Conflicts: sql/sql_prepare.cc
This commit is contained in:
@ -1287,10 +1287,7 @@ void THD::init()
|
||||
wsrep_desynced_backup_stage= false;
|
||||
#endif /* WITH_WSREP */
|
||||
|
||||
if (variables.sql_log_bin)
|
||||
variables.option_bits|= OPTION_BIN_LOG;
|
||||
else
|
||||
variables.option_bits&= ~OPTION_BIN_LOG;
|
||||
set_binlog_bit();
|
||||
|
||||
variables.sql_log_bin_off= 0;
|
||||
|
||||
|
Reference in New Issue
Block a user