mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
17 lines
500 B
Text
17 lines
500 B
Text
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
|
|
INSERT INTO t1 VALUES (1);
|
|
SET GLOBAL wsrep_provider_options = 'gcs.fc_limit=1';
|
|
FLUSH TABLES WITH READ LOCK;
|
|
INSERT INTO t1 VALUES (2);
|
|
INSERT INTO t1 VALUES (3);
|
|
INSERT INTO t1 VALUES (4);
|
|
INSERT INTO t1 VALUES (5);
|
|
SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE = 'query end' AND INFO = 'INSERT INTO t1 VALUES (5)';
|
|
COUNT(*) = 1
|
|
1
|
|
UNLOCK TABLES;
|
|
INSERT INTO t1 VALUES (6);
|
|
SELECT COUNT(*) = 6 FROM t1;
|
|
COUNT(*) = 6
|
|
1
|
|
DROP TABLE t1;
|