mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 00:34:18 +01:00
23 lines
514 B
Text
23 lines
514 B
Text
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
|
|
INSERT INTO t1 VALUES (1);
|
|
connection node_2;
|
|
SELECT COUNT(*) = 1 FROM t1;
|
|
COUNT(*) = 1
|
|
1
|
|
SET GLOBAL wsrep_provider_options = 'gcs.fc_limit=1';
|
|
LOCK TABLE t1 WRITE;
|
|
connection node_1;
|
|
INSERT INTO t1 VALUES (2);
|
|
INSERT INTO t1 VALUES (3);
|
|
INSERT INTO t1 VALUES (4);
|
|
INSERT INTO t1 VALUES (5);
|
|
connection node_1a;
|
|
connection node_2;
|
|
UNLOCK TABLES;
|
|
connection node_1;
|
|
INSERT INTO t1 VALUES (6);
|
|
connection node_2;
|
|
SELECT COUNT(*) = 6 FROM t1;
|
|
COUNT(*) = 6
|
|
1
|
|
DROP TABLE t1;
|