mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-21360 restore debud_dbug through a session variable instead of '-d,..'
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
##############################################################################
|
||||
|
||||
rpl_spec_variables : BUG#11755836 2009-10-27 jasonh rpl_spec_variables fails on PB2 hpux
|
||||
rpl_get_master_version_and_clock : Bug#11766137 Jan 05 2011 joro Valgrind warnings rpl_get_master_version_and_clock
|
||||
#rpl_get_master_version_and_clock : Bug#11766137 Jan 05 2011 joro Valgrind warnings rpl_get_master_version_and_clock
|
||||
rpl_partition_archive : MDEV-5077 2013-09-27 svoj Cannot exchange partition with archive table
|
||||
rpl_row_binlog_max_cache_size : MDEV-11092
|
||||
rpl_row_index_choice : MDEV-11666
|
||||
|
@@ -3,8 +3,8 @@ include/rpl_connect.inc [creating M4]
|
||||
include/rpl_connect.inc [creating M2]
|
||||
connection M2;
|
||||
STOP SLAVE;
|
||||
SET @old_debug= @@global.debug;
|
||||
SET GLOBAL debug_dbug= "+d,dbug.rows_events_to_delay_relay_logging";
|
||||
SET @old_debug= @@global.debug_dbug;
|
||||
SET GLOBAL debug_dbug= "d,dbug.rows_events_to_delay_relay_logging";
|
||||
START SLAVE IO_THREAD;
|
||||
include/wait_for_slave_io_to_start.inc
|
||||
connection M2;
|
||||
|
@@ -22,7 +22,7 @@ master-bin.000001 #
|
||||
master-bin.000002 #
|
||||
###################### TEST #2
|
||||
RESET MASTER;
|
||||
SET GLOBAL debug_dbug="+d,error_unique_log_filename";
|
||||
SET @@global.debug_dbug="d,error_unique_log_filename";
|
||||
FLUSH LOGS;
|
||||
ERROR HY000: Can't generate a unique log-filename master-bin.(1-999)
|
||||
|
||||
@@ -30,7 +30,7 @@ ERROR HY000: Can't generate a unique log-filename master-bin.(1-999)
|
||||
show binary logs;
|
||||
Log_name File_size
|
||||
master-bin.000001 #
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@old_debug;
|
||||
RESET MASTER;
|
||||
###################### TEST #3
|
||||
CREATE TABLE t1 (a INT);
|
||||
@@ -44,11 +44,11 @@ show binary logs;
|
||||
Log_name File_size
|
||||
master-bin.000001 #
|
||||
master-bin.000002 #
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@old_debug;
|
||||
DELETE FROM t2;
|
||||
RESET MASTER;
|
||||
###################### TEST #4
|
||||
SET GLOBAL debug_dbug="+d,error_unique_log_filename";
|
||||
SET @@global.debug_dbug="d,error_unique_log_filename";
|
||||
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/bug_46166.data' INTO TABLE t2;
|
||||
ERROR HY000: Can't generate a unique log-filename master-bin.(1-999)
|
||||
|
||||
@@ -56,21 +56,21 @@ ERROR HY000: Can't generate a unique log-filename master-bin.(1-999)
|
||||
SELECT count(*) FROM t2;
|
||||
count(*)
|
||||
1
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@old_debug;
|
||||
DELETE FROM t2;
|
||||
RESET MASTER;
|
||||
###################### TEST #5
|
||||
SET GLOBAL debug_dbug="+d,error_unique_log_filename";
|
||||
SET @@global.debug_dbug="d,error_unique_log_filename";
|
||||
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/bug_46166-2.data' INTO TABLE t2;
|
||||
# assert: must show one entry
|
||||
SELECT count(*) FROM t2;
|
||||
count(*)
|
||||
1
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@old_debug;
|
||||
DELETE FROM t2;
|
||||
RESET MASTER;
|
||||
###################### TEST #6
|
||||
SET GLOBAL debug_dbug="+d,error_unique_log_filename";
|
||||
SET @@global.debug_dbug="d,error_unique_log_filename";
|
||||
SET AUTOCOMMIT=0;
|
||||
INSERT INTO t2 VALUES ('muse');
|
||||
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/bug_46166.data' INTO TABLE t2;
|
||||
@@ -83,11 +83,11 @@ SELECT count(*) FROM t2;
|
||||
count(*)
|
||||
3
|
||||
SET AUTOCOMMIT= 1;
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@old_debug;
|
||||
DELETE FROM t2;
|
||||
RESET MASTER;
|
||||
###################### TEST #7
|
||||
SET GLOBAL debug_dbug="+d,error_unique_log_filename";
|
||||
SET @@global.debug_dbug="d,error_unique_log_filename";
|
||||
SET @@binlog_annotate_row_events= 0;
|
||||
SELECT count(*) FROM t4;
|
||||
count(*)
|
||||
@@ -100,14 +100,14 @@ SELECT count(*) FROM t4;
|
||||
count(*)
|
||||
1
|
||||
### check that the incident event is written to the current log
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@old_debug;
|
||||
include/show_binlog_events.inc
|
||||
Log_name Pos Event_type Server_id End_log_pos Info
|
||||
master-bin.000001 # Incident # # #1 (LOST_EVENTS)
|
||||
DELETE FROM t4;
|
||||
RESET MASTER;
|
||||
###################### TEST #8
|
||||
SET GLOBAL debug_dbug="+d,error_unique_log_filename";
|
||||
SET @@global.debug_dbug="d,error_unique_log_filename";
|
||||
# must show 0 entries
|
||||
SELECT count(*) FROM t4;
|
||||
count(*)
|
||||
@@ -147,9 +147,9 @@ count(*)
|
||||
SELECT count(*) FROM t2;
|
||||
count(*)
|
||||
0
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@old_debug;
|
||||
###################### TEST #9
|
||||
SET GLOBAL debug_dbug="+d,error_unique_log_filename";
|
||||
SET @@global.debug_dbug="d,error_unique_log_filename";
|
||||
SET SQL_LOG_BIN=0;
|
||||
INSERT INTO t2 VALUES ('aaa'), ('bbb'), ('ccc'), ('ddd');
|
||||
INSERT INTO t4 VALUES ('eee'), ('fff'), ('ggg'), ('hhh');
|
||||
@@ -170,17 +170,17 @@ SELECT count(*) FROM t4;
|
||||
count(*)
|
||||
0
|
||||
SET SQL_LOG_BIN=1;
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@old_debug;
|
||||
###################### TEST #10
|
||||
call mtr.add_suppression("MYSQL_BIN_LOG::open failed to sync the index file.");
|
||||
call mtr.add_suppression("Could not open .*");
|
||||
RESET MASTER;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SET GLOBAL debug_dbug="+d,fault_injection_registering_index";
|
||||
SET @@global.debug_dbug="d,fault_injection_registering_index";
|
||||
FLUSH LOGS;
|
||||
ERROR HY000: Can't open file: 'master-bin.000002' (errno: 1 "Operation not permitted")
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@old_debug;
|
||||
SHOW BINARY LOGS;
|
||||
ERROR HY000: You are not using binary logging
|
||||
CREATE TABLE t5 (a INT);
|
||||
@@ -192,10 +192,10 @@ DROP TABLE t5;
|
||||
flush tables;
|
||||
###################### TEST #11
|
||||
include/rpl_restart_server.inc [server_number=1]
|
||||
SET GLOBAL debug_dbug="+d,fault_injection_openning_index";
|
||||
SET @@global.debug_dbug="d,fault_injection_openning_index";
|
||||
FLUSH LOGS;
|
||||
ERROR HY000: Can't open file: 'master-bin.index' (errno: 1 "Operation not permitted")
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@old_debug;
|
||||
RESET MASTER;
|
||||
ERROR HY000: Binlog closed, cannot RESET MASTER
|
||||
CREATE TABLE t5 (a INT);
|
||||
@@ -207,10 +207,10 @@ DROP TABLE t5;
|
||||
flush tables;
|
||||
include/rpl_restart_server.inc [server_number=1]
|
||||
###################### TEST #12
|
||||
SET GLOBAL debug_dbug="+d,fault_injection_new_file_rotate_event";
|
||||
SET @@global.debug_dbug="d,fault_injection_new_file_rotate_event";
|
||||
FLUSH LOGS;
|
||||
ERROR HY000: Can't open file: 'master-bin' (errno: 2 "No such file or directory")
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@old_debug;
|
||||
RESET MASTER;
|
||||
ERROR HY000: Binlog closed, cannot RESET MASTER
|
||||
CREATE TABLE t5 (a INT);
|
||||
@@ -237,44 +237,40 @@ call mtr.add_suppression("Could not open .*");
|
||||
call mtr.add_suppression("MYSQL_BIN_LOG::open failed to sync the index file.");
|
||||
call mtr.add_suppression("Can't generate a unique log-filename .*");
|
||||
###################### TEST #13
|
||||
SET @old_debug=@@global.debug;
|
||||
SET @saved_debug=@@global.debug_dbug;
|
||||
include/stop_slave.inc
|
||||
SET GLOBAL debug_dbug="+d,error_unique_log_filename";
|
||||
SET @@global.debug_dbug="d,error_unique_log_filename";
|
||||
START SLAVE io_thread;
|
||||
include/wait_for_slave_io_error.inc [errno=1595]
|
||||
Last_IO_Error = 'Relay log write failure: could not queue event from master'
|
||||
SET GLOBAL debug_dbug="-d,error_unique_log_filename";
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@saved_debug;
|
||||
include/rpl_restart_server.inc [server_number=2]
|
||||
###################### TEST #14
|
||||
SET @old_debug=@@global.debug;
|
||||
SET @saved_debug=@@global.debug_dbug;
|
||||
include/stop_slave.inc
|
||||
SET GLOBAL debug_dbug="+d,fault_injection_new_file_rotate_event";
|
||||
SET @@global.debug_dbug="d,fault_injection_new_file_rotate_event";
|
||||
START SLAVE io_thread;
|
||||
include/wait_for_slave_io_error.inc [errno=1595]
|
||||
Last_IO_Error = 'Relay log write failure: could not queue event from master'
|
||||
SET GLOBAL debug_dbug="-d,fault_injection_new_file_rotate_event";
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@saved_debug;
|
||||
include/rpl_restart_server.inc [server_number=2]
|
||||
###################### TEST #15
|
||||
SET @old_debug=@@global.debug;
|
||||
SET @saved_debug=@@global.debug_dbug;
|
||||
include/stop_slave.inc
|
||||
SET GLOBAL debug_dbug="+d,fault_injection_registering_index";
|
||||
SET @@global.debug_dbug="d,fault_injection_registering_index";
|
||||
START SLAVE io_thread;
|
||||
include/wait_for_slave_io_error.inc [errno=1595]
|
||||
Last_IO_Error = 'Relay log write failure: could not queue event from master'
|
||||
SET GLOBAL debug_dbug="-d,fault_injection_registering_index";
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@saved_debug;
|
||||
include/rpl_restart_server.inc [server_number=2]
|
||||
###################### TEST #16
|
||||
SET @old_debug=@@global.debug;
|
||||
SET @saved_debug=@@global.debug_dbug;
|
||||
include/stop_slave.inc
|
||||
SET GLOBAL debug_dbug="+d,fault_injection_openning_index";
|
||||
SET @@global.debug_dbug="d,fault_injection_openning_index";
|
||||
START SLAVE io_thread;
|
||||
include/wait_for_slave_io_error.inc [errno=1595]
|
||||
Last_IO_Error = 'Relay log write failure: could not queue event from master'
|
||||
SET GLOBAL debug_dbug="-d,fault_injection_openning_index";
|
||||
SET GLOBAL debug_dbug=@old_debug;
|
||||
SET @@global.debug_dbug=@saved_debug;
|
||||
include/rpl_restart_server.inc [server_number=2]
|
||||
include/stop_slave_sql.inc
|
||||
Warnings:
|
||||
|
@@ -13,42 +13,40 @@ connection master;
|
||||
CREATE TABLE t1 (a INT NOT NULL PRIMARY KEY, b VARCHAR(10), c VARCHAR(100));
|
||||
include/stop_slave.inc
|
||||
# 2. Corruption in master binlog and SHOW BINLOG EVENTS
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET GLOBAL debug_dbug="+d,corrupt_read_log_event_char";
|
||||
SET @saved_dbug = @@global.debug_dbug;
|
||||
SET @@global.debug_dbug="d,corrupt_read_log_event_char";
|
||||
SHOW BINLOG EVENTS;
|
||||
ERROR HY000: Error when executing command SHOW BINLOG EVENTS: Wrong offset or I/O error
|
||||
SET GLOBAL debug_dbug="-d,corrupt_read_log_event_char";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
# 3. Master read a corrupted event from binlog and send the error to slave
|
||||
SET GLOBAL debug_dbug="+d,corrupt_read_log_event2_set";
|
||||
SET @@global.debug_dbug="d,corrupt_read_log_event2_set";
|
||||
connection slave;
|
||||
START SLAVE IO_THREAD;
|
||||
include/wait_for_slave_io_error.inc [errno=1236]
|
||||
connection master;
|
||||
SET GLOBAL debug_dbug="-d,corrupt_read_log_event2_set";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
# 4. Master read a corrupted event from binlog and send it to slave
|
||||
connection master;
|
||||
SET GLOBAL master_verify_checksum=0;
|
||||
SET GLOBAL debug_dbug="+d,corrupt_read_log_event2_set";
|
||||
SET @@global.debug_dbug="d,corrupt_read_log_event2_set";
|
||||
connection slave;
|
||||
START SLAVE IO_THREAD;
|
||||
include/wait_for_slave_io_error.inc [errno=1595,1743]
|
||||
connection master;
|
||||
SET GLOBAL debug_dbug="-d,corrupt_read_log_event2_set";
|
||||
SET GLOBAL debug_dbug=@saved_dbug;
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
SET GLOBAL master_verify_checksum=1;
|
||||
# 5. Slave. Corruption in network
|
||||
connection slave;
|
||||
SET @saved_dbug_slave = @@GLOBAL.debug_dbug;
|
||||
SET GLOBAL debug_dbug="+d,corrupt_queue_event";
|
||||
SET @@global.debug_dbug="d,corrupt_queue_event";
|
||||
START SLAVE IO_THREAD;
|
||||
include/wait_for_slave_io_error.inc [errno=1595,1743]
|
||||
SET GLOBAL debug_dbug="-d,corrupt_queue_event";
|
||||
SET @@global.debug_dbug=@saved_dbug_slave;
|
||||
# 6. Slave. Corruption in relay log
|
||||
SET GLOBAL debug_dbug="+d,corrupt_read_log_event_char";
|
||||
SET @@global.debug_dbug="d,corrupt_read_log_event_char";
|
||||
START SLAVE SQL_THREAD;
|
||||
include/wait_for_slave_sql_error.inc [errno=1593]
|
||||
SET GLOBAL debug_dbug="-d,corrupt_read_log_event_char";
|
||||
SET GLOBAL debug_dbug=@saved_dbug_slave;
|
||||
SET @@global.debug_dbug=@saved_dbug_slave;
|
||||
# 7. Seek diff for tables on master and slave
|
||||
connection slave;
|
||||
include/start_slave.inc
|
||||
|
@@ -27,7 +27,7 @@ include/start_slave.inc
|
||||
DO_DOMAIN_IDS (AFTER) :
|
||||
IGNORE_DOMAIN_IDS (AFTER) :
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_before_commit";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_before_commit";
|
||||
connection master;
|
||||
START TRANSACTION;
|
||||
INSERT INTO t1 VALUES(2);
|
||||
@@ -43,7 +43,7 @@ include/wait_for_slave_io_error.inc [errno=1595]
|
||||
SELECT * FROM t1;
|
||||
i
|
||||
1
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
START SLAVE io_thread;
|
||||
include/wait_for_slave_io_to_start.inc
|
||||
SELECT * FROM t1;
|
||||
@@ -61,7 +61,7 @@ CHANGE MASTER TO IGNORE_DOMAIN_IDS=(1), MASTER_USE_GTID=slave_pos;
|
||||
include/start_slave.inc
|
||||
DO_DOMAIN_IDS (AFTER) :
|
||||
IGNORE_DOMAIN_IDS (AFTER) : 1
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_before_commit";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_before_commit";
|
||||
connection master;
|
||||
START TRANSACTION;
|
||||
INSERT INTO t1 VALUES(4);
|
||||
@@ -81,7 +81,7 @@ i
|
||||
1
|
||||
2
|
||||
3
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
START SLAVE io_thread;
|
||||
include/wait_for_slave_io_to_start.inc
|
||||
SELECT * FROM t1;
|
||||
@@ -99,7 +99,7 @@ CHANGE MASTER TO IGNORE_DOMAIN_IDS=(), MASTER_USE_GTID=slave_pos;
|
||||
include/start_slave.inc
|
||||
DO_DOMAIN_IDS (AFTER) :
|
||||
IGNORE_DOMAIN_IDS (AFTER) :
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_before_commit";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_before_commit";
|
||||
connection master;
|
||||
START TRANSACTION;
|
||||
INSERT INTO t1 VALUES(6);
|
||||
@@ -134,7 +134,7 @@ i
|
||||
1
|
||||
2
|
||||
3
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
include/stop_slave.inc
|
||||
DO_DOMAIN_IDS (BEFORE) :
|
||||
IGNORE_DOMAIN_IDS (BEFORE) :
|
||||
@@ -159,7 +159,7 @@ CHANGE MASTER TO IGNORE_DOMAIN_IDS=(1), MASTER_USE_GTID=slave_pos;
|
||||
include/start_slave.inc
|
||||
DO_DOMAIN_IDS (AFTER) :
|
||||
IGNORE_DOMAIN_IDS (AFTER) : 1
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_before_commit";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_before_commit";
|
||||
connection master;
|
||||
SET @@session.gtid_domain_id= 1;
|
||||
START TRANSACTION;
|
||||
@@ -203,7 +203,7 @@ i
|
||||
3
|
||||
10
|
||||
11
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
include/stop_slave.inc
|
||||
DO_DOMAIN_IDS (BEFORE) :
|
||||
IGNORE_DOMAIN_IDS (BEFORE) : 1
|
||||
@@ -232,7 +232,7 @@ CHANGE MASTER TO IGNORE_DOMAIN_IDS=(1), MASTER_USE_GTID=slave_pos;
|
||||
include/start_slave.inc
|
||||
DO_DOMAIN_IDS (AFTER) :
|
||||
IGNORE_DOMAIN_IDS (AFTER) : 1
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_after_2_events";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_after_2_events";
|
||||
connection master;
|
||||
SET @@session.gtid_domain_id= 1;
|
||||
START TRANSACTION;
|
||||
@@ -286,7 +286,7 @@ i
|
||||
15
|
||||
16
|
||||
17
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
include/stop_slave.inc
|
||||
DO_DOMAIN_IDS (BEFORE) :
|
||||
IGNORE_DOMAIN_IDS (BEFORE) : 1
|
||||
@@ -319,7 +319,7 @@ CHANGE MASTER TO IGNORE_DOMAIN_IDS=(), MASTER_USE_GTID=slave_pos;
|
||||
include/start_slave.inc
|
||||
DO_DOMAIN_IDS (AFTER) :
|
||||
IGNORE_DOMAIN_IDS (AFTER) :
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_after_2_events";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_after_2_events";
|
||||
connection master;
|
||||
SET @@session.gtid_domain_id= 1;
|
||||
START TRANSACTION;
|
||||
@@ -383,7 +383,7 @@ i
|
||||
21
|
||||
22
|
||||
23
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
include/stop_slave.inc
|
||||
DO_DOMAIN_IDS (BEFORE) :
|
||||
IGNORE_DOMAIN_IDS (BEFORE) :
|
||||
|
@@ -1,33 +1,42 @@
|
||||
include/master-slave.inc
|
||||
[connection master]
|
||||
connection slave;
|
||||
call mtr.add_suppression("Slave I/O: Master command COM_REGISTER_SLAVE failed: .*");
|
||||
call mtr.add_suppression("Slave I/O: .* failed with error: Lost connection to MySQL server at 'reading initial communication packet'");
|
||||
call mtr.add_suppression("Fatal error: The slave I/O thread stops because master and slave have equal MySQL server ids; .*");
|
||||
call mtr.add_suppression("Slave I/O thread .* register on master");
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
connection slave;
|
||||
include/stop_slave.inc
|
||||
SET @@global.debug= "+d,'debug_lock.before_get_UNIX_TIMESTAMP'";
|
||||
SET @old_dbug = @@global.debug_dbug;
|
||||
SET @@global.debug_dbug= "d,'debug_lock.before_get_UNIX_TIMESTAMP'";
|
||||
include/start_slave.inc
|
||||
slave is going to hang in get_master_version_and_clock
|
||||
include/rpl_stop_server.inc [server_number=1]
|
||||
slave is unblocked
|
||||
SET DEBUG_SYNC='now SIGNAL signal.get_unix_timestamp';
|
||||
connection slave;
|
||||
Check network error happened here
|
||||
include/wait_for_slave_io_error.inc [errno=1053, 2002, 2003, 2006, 2013]
|
||||
set @@global.debug = "-d,'debug_lock.before_get_UNIX_TIMESTAMP'";
|
||||
set @@global.debug_dbug= @old_dbug;
|
||||
include/rpl_start_server.inc [server_number=1]
|
||||
include/wait_for_slave_param.inc [Slave_IO_Running]
|
||||
connection slave;
|
||||
connection slave;
|
||||
include/stop_slave.inc
|
||||
SET @@global.debug= "+d,'debug_lock.before_get_SERVER_ID'";
|
||||
SET @old_dbug = @@global.debug_dbug;
|
||||
SET @@global.debug_dbug= "d,'debug_lock.before_get_SERVER_ID'";
|
||||
include/start_slave.inc
|
||||
slave is going to hang in get_master_version_and_clock
|
||||
include/rpl_stop_server.inc [server_number=1]
|
||||
slave is unblocked
|
||||
SET DEBUG_SYNC='now SIGNAL signal.get_server_id';
|
||||
connection slave;
|
||||
Check network error happened here
|
||||
include/wait_for_slave_io_error.inc [errno=1053, 2002, 2003, 2006, 2013]
|
||||
set @@global.debug = "-d,'debug_lock.before_get_SERVER_ID'";
|
||||
set @@global.debug_dbug= @old_dbug;
|
||||
include/rpl_start_server.inc [server_number=1]
|
||||
include/wait_for_slave_param.inc [Slave_IO_Running]
|
||||
set global debug= '';
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
include/rpl_end.inc
|
||||
|
@@ -27,16 +27,17 @@ master-bin.000001 # Xid # # COMMIT /* XID */
|
||||
SET server_id= 3;
|
||||
SET gtid_seq_no= 3;
|
||||
ERROR HY000: An attempt was made to binlog GTID 0-3-3 which would create an out-of-order sequence number with existing GTID 0-1-3, and gtid strict mode is enabled
|
||||
SET SESSION debug_dbug="+d,ignore_set_gtid_seq_no_check";
|
||||
SET @old_dbug = @@session.debug_dbug;
|
||||
SET SESSION debug_dbug="d,ignore_set_gtid_seq_no_check";
|
||||
SET gtid_seq_no= 3;
|
||||
SET SESSION debug_dbug="-d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug=@old_dbug;
|
||||
INSERT INTO t1 VALUES (2);
|
||||
ERROR HY000: An attempt was made to binlog GTID 0-3-3 which would create an out-of-order sequence number with existing GTID 0-1-3, and gtid strict mode is enabled
|
||||
SET gtid_seq_no= 2;
|
||||
ERROR HY000: An attempt was made to binlog GTID 0-3-2 which would create an out-of-order sequence number with existing GTID 0-1-3, and gtid strict mode is enabled
|
||||
SET SESSION debug_dbug="+d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug="d,ignore_set_gtid_seq_no_check";
|
||||
SET gtid_seq_no= 2;
|
||||
SET SESSION debug_dbug="-d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug=@old_dbug;
|
||||
INSERT INTO t1 VALUES (3);
|
||||
ERROR HY000: An attempt was made to binlog GTID 0-3-2 which would create an out-of-order sequence number with existing GTID 0-1-3, and gtid strict mode is enabled
|
||||
SET server_id= 1;
|
||||
@@ -62,9 +63,9 @@ master-bin.000001 # Xid # # COMMIT /* XID */
|
||||
SET server_id= 3;
|
||||
SET gtid_seq_no= 1;
|
||||
ERROR HY000: An attempt was made to binlog GTID 0-3-1 which would create an out-of-order sequence number with existing GTID 0-1-4, and gtid strict mode is enabled
|
||||
SET SESSION debug_dbug="+d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug="d,ignore_set_gtid_seq_no_check";
|
||||
SET gtid_seq_no= 1;
|
||||
SET SESSION debug_dbug="-d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug=@old_dbug;
|
||||
CREATE TABLE t2 (a INT PRIMARY KEY) ENGINE=MyISAM;
|
||||
ERROR HY000: An attempt was made to binlog GTID 0-3-1 which would create an out-of-order sequence number with existing GTID 0-1-4, and gtid strict mode is enabled
|
||||
SET sql_log_bin= 0;
|
||||
@@ -73,9 +74,9 @@ SET sql_log_bin= 1;
|
||||
CREATE TABLE t2 (a INT PRIMARY KEY) ENGINE=MyISAM;
|
||||
SET gtid_seq_no= 1;
|
||||
ERROR HY000: An attempt was made to binlog GTID 0-3-1 which would create an out-of-order sequence number with existing GTID 0-3-5, and gtid strict mode is enabled
|
||||
SET SESSION debug_dbug="+d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug="d,ignore_set_gtid_seq_no_check";
|
||||
SET gtid_seq_no= 1;
|
||||
SET SESSION debug_dbug="-d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug=@old_dbug;
|
||||
INSERT INTO t2 VALUES (1);
|
||||
ERROR HY000: An attempt was made to binlog GTID 0-3-1 which would create an out-of-order sequence number with existing GTID 0-3-5, and gtid strict mode is enabled
|
||||
SET server_id= 1;
|
||||
|
@@ -7,15 +7,15 @@ INSERT INTO t2_11753004 VALUES (2);
|
||||
connection slave;
|
||||
call mtr.add_suppression(".*Found table map event mapping table id 0 which was already mapped but with different settings.*");
|
||||
include/stop_slave.inc
|
||||
SET @save_debug= @@global.debug;
|
||||
SET GLOBAL debug_dbug="+d,inject_tblmap_same_id_maps_diff_table";
|
||||
SET @saved_debug= @@global.debug_dbug;
|
||||
SET @@global.debug_dbug="d,inject_tblmap_same_id_maps_diff_table";
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
UPDATE t1_11753004, t2_11753004 SET t1_11753004.c1=3, t2_11753004.c1=4 WHERE t1_11753004.c1=1 OR t2_11753004.c1=2;
|
||||
connection slave;
|
||||
include/wait_for_slave_sql_error.inc [errno=1593 ]
|
||||
include/stop_slave.inc
|
||||
SET GLOBAL debug_dbug="-d,inject_tblmap_same_id_maps_diff_table";
|
||||
SET @@global.debug_dbug=@saved_debug;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
include/rpl_reset.inc
|
||||
@@ -23,7 +23,7 @@ DROP TABLE t1_11753004, t2_11753004;
|
||||
connection slave;
|
||||
connection slave;
|
||||
include/stop_slave.inc
|
||||
SET GLOBAL debug_dbug="+d,inject_tblmap_same_id_maps_diff_table";
|
||||
SET @@global.debug_dbug="d,inject_tblmap_same_id_maps_diff_table";
|
||||
include/start_slave.inc
|
||||
include/rpl_reset.inc
|
||||
connection master;
|
||||
@@ -41,7 +41,7 @@ BINLOG '
|
||||
SOgWTg8BAAAAbgAAAHIAAAAAAAQANS42LjMtbTUtZGVidWctbG9nAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAABI6BZOEzgNAAgAEgAEBAQEEgAAVgAEGggAAAAICAgCAAAAAAVAYI8=
|
||||
'/*!*/;
|
||||
SET GLOBAL debug_dbug="+d,inject_tblmap_same_id_maps_diff_table";
|
||||
SET @@global.debug_dbug="d,inject_tblmap_same_id_maps_diff_table";
|
||||
BINLOG '
|
||||
SOgWThMBAAAAKQAAAAYDAAAAAEIAAAAAAAEABHRlc3QAAnQxAAEDAAE=
|
||||
SOgWThMBAAAAKQAAAC8DAAAAAEMAAAAAAAEABHRlc3QAAnQyAAEDAAE=
|
||||
@@ -51,10 +51,10 @@ SOgWThgBAAAAKAAAAH8DAAAAAEMAAAAAAAEAAf///gEAAAD+BAAAAA==
|
||||
ERROR HY000: Fatal error: Found table map event mapping table id 0 which was already mapped but with different settings.
|
||||
DROP TABLE t1,t2;
|
||||
connection slave;
|
||||
SET GLOBAL debug_dbug="-d,inject_tblmap_same_id_maps_diff_table";
|
||||
SET @@global.debug_dbug=@saved_debug;
|
||||
connection master;
|
||||
DROP TABLE t1_11753004;
|
||||
DROP TABLE t2_11753004_ign;
|
||||
connection slave;
|
||||
SET GLOBAL debug_dbug= @save_debug;
|
||||
SET @@global.debug_dbug= @save_debug;
|
||||
include/rpl_end.inc
|
||||
|
@@ -7,7 +7,7 @@ create table tm (a int auto_increment primary key) engine=myisam;
|
||||
create table ti (a int auto_increment primary key) engine=innodb;
|
||||
connection slave;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set @@global.debug_dbug="+d,stop_slave_middle_group";
|
||||
set @@global.debug_dbug="d,stop_slave_middle_group";
|
||||
connection master;
|
||||
begin;
|
||||
insert into ti set a=null;
|
||||
@@ -28,14 +28,13 @@ one
|
||||
select count(*) as one from ti;
|
||||
one
|
||||
1
|
||||
set @@global.debug_dbug="-d";
|
||||
set @@global.debug_dbug=@saved_dbug;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
truncate table tm;
|
||||
truncate table ti;
|
||||
connection slave;
|
||||
set @@global.debug_dbug="+d,stop_slave_middle_group";
|
||||
set @@global.debug_dbug="+d,incomplete_group_in_relay_log";
|
||||
set @@global.debug_dbug="d,stop_slave_middle_group,incomplete_group_in_relay_log";
|
||||
connection master;
|
||||
begin;
|
||||
insert into ti set a=null;
|
||||
@@ -54,14 +53,13 @@ one
|
||||
select count(*) as zero from ti;
|
||||
zero
|
||||
0
|
||||
set @@global.debug_dbug="-d";
|
||||
set @@global.debug_dbug=@saved_dbug;
|
||||
stop slave;
|
||||
truncate table tm;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
connection slave;
|
||||
set @@global.debug_dbug="+d,stop_slave_middle_group";
|
||||
set @@global.debug_dbug="+d,incomplete_group_in_relay_log";
|
||||
set @@global.debug_dbug="d,stop_slave_middle_group,incomplete_group_in_relay_log";
|
||||
connection master;
|
||||
update tm as t1, ti as t2 set t1.a=t1.a * 2, t2.a=t2.a * 2;
|
||||
connection slave;
|
||||
|
@@ -24,8 +24,8 @@
|
||||
|
||||
--connection M2
|
||||
STOP SLAVE;
|
||||
SET @old_debug= @@global.debug;
|
||||
SET GLOBAL debug_dbug= "+d,dbug.rows_events_to_delay_relay_logging";
|
||||
SET @old_debug= @@global.debug_dbug;
|
||||
SET GLOBAL debug_dbug= "d,dbug.rows_events_to_delay_relay_logging";
|
||||
START SLAVE IO_THREAD;
|
||||
--source include/wait_for_slave_io_to_start.inc
|
||||
|
||||
|
@@ -1 +0,0 @@
|
||||
--loose-debug=-d,simulate_find_log_pos_error
|
@@ -36,7 +36,7 @@ let $ignore_domain_ids_after= query_get_value(SHOW SLAVE STATUS, Replicate_Ignor
|
||||
--echo IGNORE_DOMAIN_IDS (AFTER) : $ignore_domain_ids_after
|
||||
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_before_commit";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_before_commit";
|
||||
|
||||
connection master;
|
||||
|
||||
@@ -51,7 +51,7 @@ connection slave;
|
||||
--let $slave_io_errno= 1595
|
||||
--source include/wait_for_slave_io_error.inc
|
||||
SELECT * FROM t1;
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
|
||||
START SLAVE io_thread;
|
||||
--source include/wait_for_slave_io_to_start.inc
|
||||
@@ -77,7 +77,7 @@ let $ignore_domain_ids_after= query_get_value(SHOW SLAVE STATUS, Replicate_Ignor
|
||||
--echo DO_DOMAIN_IDS (AFTER) : $do_domain_ids_after
|
||||
--echo IGNORE_DOMAIN_IDS (AFTER) : $ignore_domain_ids_after
|
||||
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_before_commit";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_before_commit";
|
||||
|
||||
connection master;
|
||||
|
||||
@@ -93,7 +93,7 @@ connection slave;
|
||||
--let $slave_io_errno= 1595
|
||||
--source include/wait_for_slave_io_error.inc
|
||||
SELECT * FROM t1;
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
|
||||
START SLAVE io_thread;
|
||||
--source include/wait_for_slave_io_to_start.inc
|
||||
@@ -119,7 +119,7 @@ let $ignore_domain_ids_after= query_get_value(SHOW SLAVE STATUS, Replicate_Ignor
|
||||
--echo DO_DOMAIN_IDS (AFTER) : $do_domain_ids_after
|
||||
--echo IGNORE_DOMAIN_IDS (AFTER) : $ignore_domain_ids_after
|
||||
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_before_commit";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_before_commit";
|
||||
|
||||
connection master;
|
||||
|
||||
@@ -148,7 +148,7 @@ connection slave;
|
||||
--source include/wait_for_slave_io_error.inc
|
||||
SELECT * FROM t1;
|
||||
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
|
||||
--source include/stop_slave.inc
|
||||
let $do_domain_ids_before= query_get_value(SHOW SLAVE STATUS, Replicate_Do_Domain_Ids, 1);
|
||||
@@ -186,7 +186,7 @@ let $ignore_domain_ids_after= query_get_value(SHOW SLAVE STATUS, Replicate_Ignor
|
||||
--echo DO_DOMAIN_IDS (AFTER) : $do_domain_ids_after
|
||||
--echo IGNORE_DOMAIN_IDS (AFTER) : $ignore_domain_ids_after
|
||||
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_before_commit";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_before_commit";
|
||||
|
||||
connection master;
|
||||
|
||||
@@ -216,7 +216,7 @@ connection slave;
|
||||
--source include/wait_for_slave_io_error.inc
|
||||
SELECT * FROM t1;
|
||||
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
|
||||
--source include/stop_slave.inc
|
||||
let $do_domain_ids_before= query_get_value(SHOW SLAVE STATUS, Replicate_Do_Domain_Ids, 1);
|
||||
@@ -254,7 +254,7 @@ let $ignore_domain_ids_after= query_get_value(SHOW SLAVE STATUS, Replicate_Ignor
|
||||
--echo DO_DOMAIN_IDS (AFTER) : $do_domain_ids_after
|
||||
--echo IGNORE_DOMAIN_IDS (AFTER) : $ignore_domain_ids_after
|
||||
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_after_2_events";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_after_2_events";
|
||||
|
||||
connection master;
|
||||
|
||||
@@ -284,7 +284,7 @@ connection slave;
|
||||
--source include/wait_for_slave_io_error.inc
|
||||
SELECT * FROM t1;
|
||||
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
|
||||
--source include/stop_slave.inc
|
||||
let $do_domain_ids_before= query_get_value(SHOW SLAVE STATUS, Replicate_Do_Domain_Ids, 1);
|
||||
@@ -322,7 +322,7 @@ let $ignore_domain_ids_after= query_get_value(SHOW SLAVE STATUS, Replicate_Ignor
|
||||
--echo DO_DOMAIN_IDS (AFTER) : $do_domain_ids_after
|
||||
--echo IGNORE_DOMAIN_IDS (AFTER) : $ignore_domain_ids_after
|
||||
|
||||
SET @@global.debug_dbug="+d,kill_slave_io_after_2_events";
|
||||
SET @@global.debug_dbug="d,kill_slave_io_after_2_events";
|
||||
|
||||
connection master;
|
||||
|
||||
@@ -352,7 +352,7 @@ connection slave;
|
||||
--source include/wait_for_slave_io_error.inc
|
||||
SELECT * FROM t1;
|
||||
|
||||
SET @@global.debug_dbug="-d";
|
||||
SET @@global.debug_dbug=@saved_dbug;
|
||||
|
||||
--source include/stop_slave.inc
|
||||
let $do_domain_ids_before= query_get_value(SHOW SLAVE STATUS, Replicate_Do_Domain_Ids, 1);
|
||||
|
@@ -29,17 +29,18 @@ INSERT INTO t1 VALUES (1);
|
||||
SET server_id= 3;
|
||||
--error ER_GTID_STRICT_OUT_OF_ORDER
|
||||
SET gtid_seq_no= 3;
|
||||
SET SESSION debug_dbug="+d,ignore_set_gtid_seq_no_check";
|
||||
SET @old_dbug = @@session.debug_dbug;
|
||||
SET SESSION debug_dbug="d,ignore_set_gtid_seq_no_check";
|
||||
SET gtid_seq_no= 3;
|
||||
SET SESSION debug_dbug="-d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug=@old_dbug;
|
||||
--error ER_GTID_STRICT_OUT_OF_ORDER
|
||||
INSERT INTO t1 VALUES (2);
|
||||
|
||||
--error ER_GTID_STRICT_OUT_OF_ORDER
|
||||
SET gtid_seq_no= 2;
|
||||
SET SESSION debug_dbug="+d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug="d,ignore_set_gtid_seq_no_check";
|
||||
SET gtid_seq_no= 2;
|
||||
SET SESSION debug_dbug="-d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug=@old_dbug;
|
||||
--error ER_GTID_STRICT_OUT_OF_ORDER
|
||||
INSERT INTO t1 VALUES (3);
|
||||
SET server_id= 1;
|
||||
@@ -52,9 +53,9 @@ SELECT * FROM t1 ORDER BY 1;
|
||||
SET server_id= 3;
|
||||
--error ER_GTID_STRICT_OUT_OF_ORDER
|
||||
SET gtid_seq_no= 1;
|
||||
SET SESSION debug_dbug="+d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug="d,ignore_set_gtid_seq_no_check";
|
||||
SET gtid_seq_no= 1;
|
||||
SET SESSION debug_dbug="-d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug=@old_dbug;
|
||||
--error ER_GTID_STRICT_OUT_OF_ORDER
|
||||
CREATE TABLE t2 (a INT PRIMARY KEY) ENGINE=MyISAM;
|
||||
# The table is still created, DDL cannot be rolled back.
|
||||
@@ -66,9 +67,9 @@ CREATE TABLE t2 (a INT PRIMARY KEY) ENGINE=MyISAM;
|
||||
|
||||
--error ER_GTID_STRICT_OUT_OF_ORDER
|
||||
SET gtid_seq_no= 1;
|
||||
SET SESSION debug_dbug="+d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug="d,ignore_set_gtid_seq_no_check";
|
||||
SET gtid_seq_no= 1;
|
||||
SET SESSION debug_dbug="-d,ignore_set_gtid_seq_no_check";
|
||||
SET SESSION debug_dbug=@old_dbug;
|
||||
--error ER_GTID_STRICT_OUT_OF_ORDER
|
||||
INSERT INTO t2 VALUES (1);
|
||||
# The value is still inserted, cannot be rolled back.
|
||||
|
@@ -27,8 +27,8 @@ call mtr.add_suppression(".*Found table map event mapping table id 0 which was a
|
||||
|
||||
# stop the slave and inject corruption
|
||||
--source include/stop_slave.inc
|
||||
SET @save_debug= @@global.debug;
|
||||
SET GLOBAL debug_dbug="+d,inject_tblmap_same_id_maps_diff_table";
|
||||
SET @saved_debug= @@global.debug_dbug;
|
||||
SET @@global.debug_dbug="d,inject_tblmap_same_id_maps_diff_table";
|
||||
--source include/start_slave.inc
|
||||
--connection master
|
||||
# both tables get mapped to 0 (in a way, simulating scenario
|
||||
@@ -42,7 +42,7 @@ SET GLOBAL debug_dbug="+d,inject_tblmap_same_id_maps_diff_table";
|
||||
--source include/stop_slave.inc
|
||||
|
||||
# clean up
|
||||
SET GLOBAL debug_dbug="-d,inject_tblmap_same_id_maps_diff_table";
|
||||
SET @@global.debug_dbug=@saved_debug;
|
||||
--source include/start_slave.inc
|
||||
--connection master
|
||||
--source include/rpl_reset.inc
|
||||
@@ -55,7 +55,7 @@ SET GLOBAL debug_dbug="-d,inject_tblmap_same_id_maps_diff_table";
|
||||
|
||||
--connection slave
|
||||
--source include/stop_slave.inc
|
||||
SET GLOBAL debug_dbug="+d,inject_tblmap_same_id_maps_diff_table";
|
||||
SET @@global.debug_dbug="d,inject_tblmap_same_id_maps_diff_table";
|
||||
--source include/start_slave.inc
|
||||
--source include/rpl_reset.inc
|
||||
--connection master
|
||||
@@ -92,7 +92,7 @@ AAAAAAAAAAAAAAAAAABI6BZOEzgNAAgAEgAEBAQEEgAAVgAEGggAAAAICAgCAAAAAAVAYI8=
|
||||
#110708 12:21:44 server id 1 end_log_pos 855 Update_rows: table id 66
|
||||
# at 855
|
||||
#110708 12:21:44 server id 1 end_log_pos 895 Update_rows: table id 67 flags: STMT_END_F
|
||||
SET GLOBAL debug_dbug="+d,inject_tblmap_same_id_maps_diff_table";
|
||||
SET @@global.debug_dbug="d,inject_tblmap_same_id_maps_diff_table";
|
||||
--error ER_SLAVE_FATAL_ERROR
|
||||
BINLOG '
|
||||
SOgWThMBAAAAKQAAAAYDAAAAAEIAAAAAAAEABHRlc3QAAnQxAAEDAAE=
|
||||
@@ -105,11 +105,11 @@ SOgWThgBAAAAKAAAAH8DAAAAAEMAAAAAAAEAAf///gEAAAD+BAAAAA==
|
||||
# clean up
|
||||
DROP TABLE t1,t2;
|
||||
--connection slave
|
||||
SET GLOBAL debug_dbug="-d,inject_tblmap_same_id_maps_diff_table";
|
||||
SET @@global.debug_dbug=@saved_debug;
|
||||
--connection master
|
||||
--eval DROP TABLE $t1
|
||||
--eval DROP TABLE $t2_ign
|
||||
--sync_slave_with_master
|
||||
SET GLOBAL debug_dbug= @save_debug;
|
||||
SET @@global.debug_dbug= @save_debug;
|
||||
|
||||
--source include/rpl_end.inc
|
||||
|
Reference in New Issue
Block a user