mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-21360 global debug_dbug pre-test value restoration issues
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
# - setup log_warnings and debug
|
||||
--connection slave
|
||||
--source include/stop_slave.inc
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
--let $log_warnings_save= `SELECT @@GLOBAL.log_warnings`
|
||||
|
||||
SET GLOBAL log_warnings = 2;
|
||||
@ -55,7 +55,7 @@ EOF
|
||||
|
||||
# cleanup
|
||||
--source include/stop_slave.inc
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
--eval SET GLOBAL log_warnings = $log_warnings_save
|
||||
--source include/start_slave.inc
|
||||
|
||||
|
Reference in New Issue
Block a user