1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-28820 MyISAM wrong server status flags

MyISAM tables no longer take transactional metadata locks
unless there already is an active transaction.
This commit is contained in:
Sergei Golubchik
2023-10-16 17:37:16 +02:00
parent f293b2b211
commit 81c88ab7cd
9 changed files with 98 additions and 13 deletions

View File

@ -135,7 +135,7 @@ flush table t1;
check table t1;
--echo # At this point we have a corrupt t1
set autocommit = 0;
start transaction;
select * from t2;
--echo # Without fix select from t1 will break the transaction. After the fix
--echo # transaction should be active and should hold lock on table t2. Alter
@ -153,7 +153,6 @@ let $wait_condition=
LIKE "Waiting%" AND info = "ALTER TABLE t2 ADD val INT";
--source include/wait_condition.inc
ROLLBACK;
SET autocommit = 1;
connection con2;
--reap