1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-25 18:38:00 +03:00

MDEV-21360 debug_dbug pre-test value restoration issues

This commit is contained in:
Alice Sherepa
2019-12-23 21:48:59 +01:00
parent 800d1f3010
commit 451573fab1
177 changed files with 446 additions and 234 deletions

View File

@@ -51,6 +51,7 @@ reset slave;
connection slave;
# Set debug flags on slave to force errors to occur
set @saved_dbug = @@global.debug_dbug;
SET GLOBAL debug_dbug= "d,simulate_io_slave_error_on_init,simulate_sql_slave_error_on_init";
start slave;
@@ -66,7 +67,7 @@ start slave;
call mtr.add_suppression("Failed during slave.* thread initialization");
SET GLOBAL debug_dbug= "";
set @@global.debug_dbug = @saved_dbug;
######################################################################
# Injecting faults in the init_slave option