diff options
author | Seppo Jaakola <seppo.jaakola@codership.com> | 2013-09-30 23:14:31 +0300 |
---|---|---|
committer | Seppo Jaakola <seppo.jaakola@codership.com> | 2013-09-30 23:14:31 +0300 |
commit | 4e00dd68612806e03494921bb573de470fa3e64b (patch) | |
tree | 0bdc646064c25847133ec8f52222538b6bcc47ab /sql/mdl.cc | |
parent | 239dcdaa909cba065b9e6c83e59baef25a35eb58 (diff) | |
download | mariadb-git-4e00dd68612806e03494921bb573de470fa3e64b.tar.gz |
References: lp:1233353 - releasing explicit MDL locks for BF aborted transactions
Diffstat (limited to 'sql/mdl.cc')
-rw-r--r-- | sql/mdl.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/mdl.cc b/sql/mdl.cc index 32a4d8cbbf5..fe8efd3e6cd 100644 --- a/sql/mdl.cc +++ b/sql/mdl.cc @@ -2737,7 +2737,12 @@ void MDL_context::release_locks_stored_before(enum_mdl_duration duration, DBUG_VOID_RETURN; } - +#ifdef WITH_WSREP +void MDL_context::release_explicit_locks() +{ + release_locks_stored_before(MDL_EXPLICIT, NULL); +} +#endif /** Release all explicit locks in the context which correspond to the same name/object as this lock request. |