Debian Codegraph @

mysql-test/suite/galera/r/galera_as_slave_gtid_auto_engine.result

raw
1 connection node_2;
2 connection node_1;
3 connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
4 connection node_2;
5 START SLAVE;
6 connection node_3;
7 CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
8 INSERT INTO t1 VALUES(1);
9 SELECT LENGTH(@@global.gtid_binlog_state) > 1;
10 LENGTH(@@global.gtid_binlog_state) > 1
11 1
12 connection node_1;
13 connection node_2;
14 gtid_binlog_state_equal
15 1
16 connection node_1;
17 SELECT COUNT(*) = 1 FROM t1;
18 COUNT(*) = 1
19 1
20 gtid_binlog_state_equal
21 1
22 connection node_3;
23 DROP TABLE t1;
24 connection node_1;
25 connection node_2;
26 STOP SLAVE;
27 RESET SLAVE ALL;
28 #cleanup
29 connection node_1;
30 set global wsrep_on=OFF;
31 reset master;
32 set global wsrep_on=ON;
33 connection node_2;
34 set global wsrep_on=OFF;
35 reset master;
36 set global wsrep_on=ON;
37 connection node_3;
38 reset master;
39 connection node_2;
40 DROP TABLE mysql.gtid_slave_pos_InnoDB;
41 CALL mtr.add_suppression("The automatically created table");