summaryrefslogtreecommitdiff
path: root/sql/rpl_rli.cc
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@dator8>2011-01-04 18:46:01 +0100
committerMikael Ronstrom <mikael@dator8>2011-01-04 18:46:01 +0100
commitc1986098bf5e4748b416e2e4d451baa55a9f3cee (patch)
tree3099d3c6d9977c59627e466389081f2dae42b159 /sql/rpl_rli.cc
parent7311054d1579462f13320a0ef12ed869bc0dc3f9 (diff)
parent7313acfef7491fbfc722f7c84744955065a6360a (diff)
downloadmariadb-git-c1986098bf5e4748b416e2e4d451baa55a9f3cee.tar.gz
merge
Diffstat (limited to 'sql/rpl_rli.cc')
-rw-r--r--sql/rpl_rli.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/rpl_rli.cc b/sql/rpl_rli.cc
index d02aadee701..df20690d8d8 100644
--- a/sql/rpl_rli.cc
+++ b/sql/rpl_rli.cc
@@ -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