Debian Codegraph @

mysql-test/suite/galera_sr/t/GCF-889.test

raw
1 --source include/galera_cluster.inc
2
3 --connection node_2
4 SET GLOBAL wsrep_ignore_apply_errors = 2;
5
6 --connection node_1
7 CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
8
9 SET SESSION wsrep_on = OFF;
10 INSERT INTO t1 VALUES (1);
11 SET SESSION wsrep_on = ON;
12
13 SET SESSION wsrep_trx_fragment_size = 1;
14 DELETE FROM t1 WHERE f1 = 1;
15 SET SESSION wsrep_trx_fragment_size = 0;
16
17 INSERT INTO t1 VALUES (1);
18
19 SELECT COUNT(*) = 1;
20
21 --connection node_2
22 SELECT COUNT(*) = 1;
23 CALL mtr.add_suppression("Could not execute Delete_rows event on table");
24 CALL mtr.add_suppression("Can't find record in 't1'");
25 SET GLOBAL wsrep_ignore_apply_errors = 7;
26
27 --connection node_1
28 DROP TABLE t1;