Debian Codegraph @

mysql-test/suite/binlog_encryption/rpl_incident.result

raw
1 include/master-slave.inc
2 [connection master]
3 SET @old_binlog_checksum=@@binlog_checksum;
4 SET GLOBAL BINLOG_CHECKSUM=none;
5 connection slave;
6 SET @old_binlog_checksum=@@binlog_checksum;
7 SET GLOBAL BINLOG_CHECKSUM=none;
8 connection master;
9 **** On Master ****
10 CREATE TABLE t1 (a INT);
11 INSERT INTO t1 VALUES (1),(2),(3);
12 SELECT * FROM t1;
13 a
14 1
15 2
16 3
17 set @saved_dbug = @@global.debug_dbug;
18 SET GLOBAL debug_dbug= '+d,incident_database_resync_on_replace,*';
19 REPLACE INTO t1 VALUES (4);
20 SELECT * FROM t1;
21 a
22 1
23 2
24 3
25 4
26 set @@global.debug_dbug = @saved_dbug;
27 connection slave;
28 call mtr.add_suppression("Slave SQL.*The incident LOST_EVENTS occurred on the master.* 1590");
29 include/wait_for_slave_sql_error.inc [errno=1590]
30 Last_SQL_Error = 'The incident LOST_EVENTS occurred on the master. Message: <none>'
31 **** On Slave ****
32 SELECT * FROM t1;
33 a
34 1
35 2
36 3
37 SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
38 START SLAVE;
39 SELECT * FROM t1;
40 a
41 1
42 2
43 3
44 4
45 include/check_slave_is_running.inc
46 connection master;
47 SET GLOBAL BINLOG_CHECKSUM=@old_binlog_checksum;
48 DROP TABLE t1;
49 connection slave;
50 SET GLOBAL BINLOG_CHECKSUM=@old_binlog_checksum;
51 include/rpl_end.inc