diff options
author | Mikael Ronstrom <mikael@dator8> | 2011-01-04 18:46:01 +0100 |
---|---|---|
committer | Mikael Ronstrom <mikael@dator8> | 2011-01-04 18:46:01 +0100 |
commit | c1986098bf5e4748b416e2e4d451baa55a9f3cee (patch) | |
tree | 3099d3c6d9977c59627e466389081f2dae42b159 /sql/rpl_rli.cc | |
parent | 7311054d1579462f13320a0ef12ed869bc0dc3f9 (diff) | |
parent | 7313acfef7491fbfc722f7c84744955065a6360a (diff) | |
download | mariadb-git-c1986098bf5e4748b416e2e4d451baa55a9f3cee.tar.gz |
merge
Diffstat (limited to 'sql/rpl_rli.cc')
-rw-r--r-- | sql/rpl_rli.cc | 3 |
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 |