mariadb/mysql-test/suite/galera/r/MDEV-33136.result
Denis Protivensky 6dfc9bc75b MDEV-36710: Revert "MDEV-33136: backport corrections from 10.11+"
This reverts commit 0403f0147f
for 10.6 branch. It caused MDEV-33136 test to fail in 10.6 branch.

Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
2025-08-14 16:41:07 +02:00

21 lines
662 B
Text

connection node_2;
connection node_1;
connect node_1a,127.0.0.1,root,,test,$NODE_MYPORT_1;
connection node_1;
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
connection node_1a;
RENAME TABLE t1 TO tmp, tmp TO t1;
SET SESSION wsrep_retry_autocommit = 0;
SET DEBUG_SYNC = 'dict_stats_mdl_acquired SIGNAL may_toi WAIT_FOR bf_abort';
INSERT INTO t1 VALUES (1);
connection node_1;
SET DEBUG_SYNC = 'now WAIT_FOR may_toi';
TRUNCATE TABLE t1;
connection node_1a;
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
connection node_1;
SET DEBUG_SYNC = 'RESET';
DROP TABLE t1;
disconnect node_1a;
disconnect node_2;
disconnect node_1;