mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +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.
This commit is contained in:
@@ -3256,6 +3256,13 @@ public:
|
||||
auto_inc_intervals_forced.empty(); // in case of multiple SET INSERT_ID
|
||||
auto_inc_intervals_forced.append(next_id, ULONGLONG_MAX, 0);
|
||||
}
|
||||
inline void set_binlog_bit()
|
||||
{
|
||||
if (variables.sql_log_bin)
|
||||
variables.option_bits |= OPTION_BIN_LOG;
|
||||
else
|
||||
variables.option_bits &= ~OPTION_BIN_LOG;
|
||||
}
|
||||
|
||||
ulonglong limit_found_rows;
|
||||
|
||||
|
Reference in New Issue
Block a user