mariadb/mysql-test/suite/galera_3nodes/r/galera_certification_ccc.result

20 lines
768 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;
CALL mtr.add_suppression("SYNC message from member 1 in non-primary configuration");
CALL mtr.add_suppression("SYNC message from member 1 in non-primary configuration");
CALL mtr.add_suppression("SYNC message from member 1 in non-primary configuration");