1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-15532 after-merge fixes from Monty

The Galera tests were massively failing with debug assertions.
This commit is contained in:
Marko Mäkelä
2020-12-02 16:16:29 +02:00
parent 589cf8dbf3
commit 24ec8eaf66
15 changed files with 22 additions and 22 deletions

View File

@ -471,9 +471,7 @@ dbcontext::close_tables_if()
unlock_tables_if();
DENA_VERBOSE(100, fprintf(stderr, "HNDSOCK close tables\n"));
close_thread_tables(thd);
#if MYSQL_VERSION_ID >= 50505
thd->mdl_context.release_transactional_locks();
#endif
thd->mdl_context.release_transactional_locks(thd);
if (!table_vec.empty()) {
statistic_increment(close_tables_count, &LOCK_status);
table_vec.clear();