mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-21360 global debug_dbug pre-test value restoration issues
This commit is contained in:
@@ -15,7 +15,7 @@ call mtr.add_suppression("Slave SQL.*Failed during slave thread initialization.*
|
||||
reset slave;
|
||||
|
||||
# Set debug flags on slave to force errors to occur
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
SET GLOBAL debug_dbug="d,simulate_io_slave_error_on_init,simulate_sql_slave_error_on_init";
|
||||
|
||||
--disable_query_log
|
||||
@@ -40,7 +40,7 @@ start slave;
|
||||
#
|
||||
# Cleanup
|
||||
#
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
# Clear Last_SQL_Error
|
||||
RESET SLAVE;
|
||||
|
Reference in New Issue
Block a user