Debian Codegraph @

mysql-test/suite/binlog_encryption/rpl_parallel_partial_binlog_trans.result

raw
1 *** MDEV_6435: Incorrect error handling when query binlogged partially on master with "killed" error ***
2 include/master-slave.inc
3 [connection master]
4 connection server_2;
5 include/stop_slave.inc
6 SET @old_parallel_threads=@@GLOBAL.slave_parallel_threads;
7 SET GLOBAL slave_parallel_threads=1;
8 CHANGE MASTER TO master_use_gtid=slave_pos;
9 include/start_slave.inc
10 connection server_1;
11 ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
12 CREATE TABLE t6 (a INT) ENGINE=MyISAM;
13 CREATE TRIGGER tr AFTER INSERT ON t6 FOR EACH ROW SET @a = 1;
14 connect con1,127.0.0.1,root,,test,$SERVER_MYPORT_1,;
15 connection con1;
16 SET debug_sync='sp_head_execute_before_loop SIGNAL ready WAIT_FOR cont';
17 INSERT INTO t6 VALUES (1), (2), (3);
18 connection server_1;
19 SET debug_sync='now WAIT_FOR ready';
20 KILL QUERY CONID;
21 SET debug_sync='now SIGNAL cont';
22 connection con1;
23 ERROR 70100: Query execution was interrupted
24 SET debug_sync='RESET';
25 connection server_1;
26 SET debug_sync='RESET';
27 connection server_2;
28 include/wait_for_slave_sql_error.inc [errno=1317]
29 STOP SLAVE IO_THREAD;
30 SET GLOBAL gtid_slave_pos= 'AFTER_ERROR_GTID_POS';
31 include/start_slave.inc
32 connection server_1;
33 INSERT INTO t6 VALUES (4);
34 SELECT * FROM t6 ORDER BY a;
35 a
36 1
37 4
38 connection server_2;
39 SELECT * FROM t6 ORDER BY a;
40 a
41 4
42 connection server_2;
43 include/stop_slave.inc
44 SET GLOBAL slave_parallel_threads=@old_parallel_threads;
45 include/start_slave.inc
46 SET DEBUG_SYNC= 'RESET';
47 connection server_1;
48 DROP TABLE t6;
49 SET DEBUG_SYNC= 'RESET';
50 disconnect con1;
51 include/rpl_end.inc