1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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

@ -6319,7 +6319,7 @@ finish:
thd->release_transactional_locks();
}
}
else if (! thd->in_sub_stmt && ! thd->in_multi_stmt_transaction_mode())
else if (! thd->in_sub_stmt && ! thd->in_active_multi_stmt_transaction())
{
/*
- If inside a multi-statement transaction,