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

@ -25,7 +25,7 @@ connection default;
CREATE SCHEMA schema1;
CREATE TABLE schema1.t1 (a INT);
SET autocommit= FALSE;
START TRANSACTION;
INSERT INTO schema1.t1 VALUES (1);
connection con2;
@ -40,7 +40,7 @@ let $wait_condition= SELECT COUNT(*)= 1 FROM information_schema.processlist
# Listing the error twice to prevent result diffences based on filename.
--error 1,1
ALTER SCHEMA schema1 DEFAULT CHARACTER SET utf8;
SET autocommit= TRUE;
COMMIT;
connection con2;
--reap