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

@ -126,7 +126,7 @@ test.t1 check error Record-count is not ok; is 2 Should be: 1
test.t1 check warning Found 2 key parts. Should be: 1
test.t1 check error Corrupt
# At this point we have a corrupt t1
set autocommit = 0;
start transaction;
select * from t2;
a
1
@ -145,7 +145,6 @@ ALTER TABLE t2 ADD val INT;
connection default;
# With fix we should have alter table waiting for t2 lock here.
ROLLBACK;
SET autocommit = 1;
connection con2;
connection default;
disconnect con2;