mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
26 lines
574 B
Plaintext
26 lines
574 B
Plaintext
# SR: two identical transactions have different value for the WSREP_FLAG_PA_UNSAFE flag
|
|
|
|
--source include/galera_cluster.inc
|
|
--source include/have_innodb.inc
|
|
|
|
--connection node_1
|
|
SET SESSION wsrep_trx_fragment_size = 1;
|
|
SET AUTOCOMMIT=OFF;
|
|
START TRANSACTION;
|
|
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
|
|
INSERT INTO t1 VALUES (1),(2);
|
|
|
|
--connection node_2
|
|
SELECT flags FROM mysql.wsrep_streaming_log;
|
|
|
|
--connection node_1
|
|
ROLLBACK;
|
|
INSERT INTO t1 VALUES (3),(4);
|
|
|
|
--connection node_2
|
|
SELECT flags FROM mysql.wsrep_streaming_log;
|
|
|
|
--connection node_1
|
|
ROLLBACK;
|
|
DROP TABLE t1;
|