1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00
This commit is contained in:
Sergei Golubchik
2023-10-16 14:29:12 +02:00
parent e46ae59265
commit f293b2b211
10 changed files with 32 additions and 66 deletions

View File

@ -4695,8 +4695,7 @@ public:
/* Relesae transactional locks if there are no active transactions */
void release_transactional_locks()
{
if (!(server_status &
(SERVER_STATUS_IN_TRANS | SERVER_STATUS_IN_TRANS_READONLY)))
if (!in_active_multi_stmt_transaction())
mdl_context.release_transactional_locks(this);
}
int decide_logging_format(TABLE_LIST *tables);