diff options
author | Seppo Jaakola <seppo.jaakola@codership.com> | 2013-10-07 09:43:19 +0300 |
---|---|---|
committer | Seppo Jaakola <seppo.jaakola@codership.com> | 2013-10-07 09:43:19 +0300 |
commit | 61bda9a2f0017b1fbe88c63a0ada68ad1024a72c (patch) | |
tree | 63dd7c635aac24f7259fa925037013f7e3fc105b /sql/mdl.cc | |
parent | 255e20a17534cf3b56201562990d5e5e01bccd33 (diff) | |
download | mariadb-git-61bda9a2f0017b1fbe88c63a0ada68ad1024a72c.tar.gz |
Merged revisions 3425..3430 from mariadb-galera-5.5
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 c3aa4b2363b..7fbbfa74537 100644 --- a/sql/mdl.cc +++ b/sql/mdl.cc @@ -2951,7 +2951,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. |