summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/r/galera_applier_ftwrl_table.result
blob: 1b2a3b937bb92110c5992fa94887542f8b5727d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SET SESSION wsrep_sync_wait = 0;
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
FLUSH TABLE t1 WITH READ LOCK;
INSERT INTO t1 VALUES (1);
INSERT INTO t1 VALUES (2);
SET SESSION wsrep_sync_wait = 0;
SELECT COUNT(*) = 0 FROM t1;
COUNT(*) = 0
1
UNLOCK TABLES;
SET SESSION wsrep_sync_wait = 15;
SELECT COUNT(*) = 2 FROM t1;
COUNT(*) = 2
1
DROP TABLE t1;