mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
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>
This commit is contained in:
committed by
Julius Goryavsky
parent
fc2990fd90
commit
6dfc9bc75b
@@ -4,7 +4,7 @@ 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;
|
||||
TRUNCATE TABLE 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);
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
|
||||
|
||||
--connection node_1a
|
||||
RENAME TABLE t1 TO tmp, tmp TO t1;
|
||||
# RENAME forces the next statement to re-read statistics from persistent storage,
|
||||
TRUNCATE TABLE t1;
|
||||
# TRUNCATE forces the next statement to re-read statistics from persistent storage,
|
||||
# which will acquire MDL locks on the statistics tables in InnoDB.
|
||||
SET SESSION wsrep_retry_autocommit = 0;
|
||||
SET DEBUG_SYNC = 'dict_stats_mdl_acquired SIGNAL may_toi WAIT_FOR bf_abort';
|
||||
|
||||
Reference in New Issue
Block a user