summaryrefslogtreecommitdiff
path: root/sql/mdl.cc
diff options
context:
space:
mode:
authorSeppo Jaakola <seppo.jaakola@codership.com>2013-10-07 09:43:19 +0300
committerSeppo Jaakola <seppo.jaakola@codership.com>2013-10-07 09:43:19 +0300
commit61bda9a2f0017b1fbe88c63a0ada68ad1024a72c (patch)
tree63dd7c635aac24f7259fa925037013f7e3fc105b /sql/mdl.cc
parent255e20a17534cf3b56201562990d5e5e01bccd33 (diff)
downloadmariadb-git-61bda9a2f0017b1fbe88c63a0ada68ad1024a72c.tar.gz
Merged revisions 3425..3430 from mariadb-galera-5.5
Diffstat (limited to 'sql/mdl.cc')
-rw-r--r--sql/mdl.cc7
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.