1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

References: lp:1233353 - releasing explicit MDL locks for BF aborted transactions

This commit is contained in:
Seppo Jaakola
2013-09-30 23:14:31 +03:00
parent 239dcdaa90
commit 4e00dd6861
4 changed files with 16 additions and 3 deletions

View File

@@ -8049,6 +8049,9 @@ static void wsrep_client_rollback(THD *thd)
/* Release transactional metadata locks. */
thd->mdl_context.release_transactional_locks();
/* release explicit MDL locks */
thd->mdl_context.release_explicit_locks();
if (thd->get_binlog_table_maps())
{
WSREP_DEBUG("clearing binlog table map for BF abort (%ld)", thd->thread_id);