mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
a401c11c4e
* Also modified name regex to include '#' as a valid symbol for tests under disabled.def.
17 lines
513 B
Text
17 lines
513 B
Text
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
|
|
SET AUTOCOMMIT=OFF;
|
|
START TRANSACTION;
|
|
INSERT INTO t1 VALUES (1);
|
|
SELECT VARIABLE_VALUE = 3 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
|
VARIABLE_VALUE = 3
|
|
1
|
|
SET GLOBAL wsrep_cluster_address = '';
|
|
INSERT INTO t1 VALUES (2);
|
|
SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
|
VARIABLE_VALUE = 2
|
|
1
|
|
COMMIT;
|
|
SELECT COUNT(*) = 2 FROM t1;
|
|
COUNT(*) = 2
|
|
1
|
|
DROP TABLE t1;
|