Debian Codegraph @

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

raw
1 connection node_2;
2 connection node_1;
3 connection node_1;
4 SET SESSION wsrep_sync_wait = 0;
5 CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
6 FLUSH TABLE t1 WITH READ LOCK;
7 connection node_2;
8 INSERT INTO t1 VALUES (1);
9 INSERT INTO t1 VALUES (2);
10 connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
11 connection node_1a;
12 SET SESSION wsrep_sync_wait = 0;
13 SELECT COUNT(*) = 0 FROM t1;
14 COUNT(*) = 0
15 1
16 connection node_1;
17 UNLOCK TABLES;
18 SET SESSION wsrep_sync_wait = 15;
19 SELECT COUNT(*) = 2 FROM t1;
20 COUNT(*) = 2
21 1
22 DROP TABLE t1;