Skip to content

Commit 6dfc9bc

Browse files
Denis Protivenskysysprg
authored andcommitted
MDEV-36710: Revert "MDEV-33136: backport corrections from 10.11+"
This reverts commit 0403f01 for 10.6 branch. It caused MDEV-33136 test to fail in 10.6 branch. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
1 parent fc2990f commit 6dfc9bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mysql-test/suite/galera/r/MDEV-33136.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ connect node_1a,127.0.0.1,root,,test,$NODE_MYPORT_1;
44
connection node_1;
55
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
66
connection node_1a;
7-
RENAME TABLE t1 TO tmp, tmp TO t1;
7+
TRUNCATE TABLE t1;
88
SET SESSION wsrep_retry_autocommit = 0;
99
SET DEBUG_SYNC = 'dict_stats_mdl_acquired SIGNAL may_toi WAIT_FOR bf_abort';
1010
INSERT INTO t1 VALUES (1);

mysql-test/suite/galera/t/MDEV-33136.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
2121

2222
--connection node_1a
23-
RENAME TABLE t1 TO tmp, tmp TO t1;
24-
# RENAME forces the next statement to re-read statistics from persistent storage,
23+
TRUNCATE TABLE t1;
24+
# TRUNCATE forces the next statement to re-read statistics from persistent storage,
2525
# which will acquire MDL locks on the statistics tables in InnoDB.
2626
SET SESSION wsrep_retry_autocommit = 0;
2727
SET DEBUG_SYNC = 'dict_stats_mdl_acquired SIGNAL may_toi WAIT_FOR bf_abort';

0 commit comments

Comments
 (0)