mariadb/mysql-test/suite/galera_sr/r/GCF-851.result
Brave Galera Crew 36a2a185fe Galera4
2019-01-23 15:30:00 +04:00

30 lines
655 B
Text

connection node_2;
connection node_1;
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
SET SESSION WSREP_TRX_FRAGMENT_SIZE=1;
SET SESSION AUTOCOMMIT=OFF;
INSERT INTO t1 VALUES (10);
SELECT COUNT(*) > 0 FROM mysql.wsrep_streaming_log;
COUNT(*) > 0
1
connection node_2;
SELECT COUNT(*) > 0 FROM mysql.wsrep_streaming_log;
COUNT(*) > 0
1
connection node_1;
START TRANSACTION;
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
COUNT(*) = 0
1
connection node_2;
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
COUNT(*) = 0
1
SELECT COUNT(*) > 0 FROM t1;
COUNT(*) > 0
1
connection node_1;
SELECT COUNT(*) > 0 FROM t1;
COUNT(*) > 0
1
DROP TABLE t1;