This commit is contained in:
Mikael Ronstrom 2011-01-04 18:46:01 +01:00
commit 6e7752d557
2667 changed files with 66388 additions and 411670 deletions

View file

@ -1278,6 +1278,9 @@ void Relay_log_info::slave_close_thread_tables(THD *thd)
*/
if (! thd->in_multi_stmt_transaction_mode())
thd->mdl_context.release_transactional_locks();
else
thd->mdl_context.release_statement_locks();
clear_tables_to_lock();
}
#endif