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:
@ -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();
|
||||
|
Reference in New Issue
Block a user