mariadb/mysql-test/suite/galera/r/MDEV-38073.result
Alexey Yurchenko e2088ce4d9 MDEV-38383 Fix MDEV-38073 MTR test warning
MDEV-38073 MTR test started to fail with a warning after upstream merge
from 11.4 a7528a6190 because THD responsible
for creating SST user became read-only when the server was started with
--transaction-read-only=TRUE.
make sure the readonly flag on THDs created for wsp::thd utility class is
cleared regardless of the --transaction-read-only value as it is intended
only for client-facing THDs.
2026-01-29 13:27:13 +02:00

19 lines
402 B
Text

connection node_2;
connection node_1;
connection node_1;
connection node_2;
connection node_2;
connection node_1;
CREATE TABLE t1 (id INT PRIMARY KEY) ENGINE=InnoDB;
SET SESSION wsrep_trx_fragment_size=1;
START TRANSACTION;
INSERT INTO t1 VALUES (1);
INSERT INTO t1 VALUES (2);
COMMIT;
connection node_2;
SELECT COUNT(*) = 2 FROM t1;
COUNT(*) = 2
1
connection node_2;
connection node_1;
DROP TABLE t1;