summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-12-02 16:16:29 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-12-02 16:16:29 +0200
commit24ec8eaf66ecd864529309c5edcb8dd6b685f2aa (patch)
tree092e6e25b30833ee3521d1179b1b8767db020981 /sql/sql_class.cc
parent589cf8dbf3accf57673d7e2f7a4435f7eaf33565 (diff)
downloadmariadb-git-24ec8eaf66ecd864529309c5edcb8dd6b685f2aa.tar.gz
MDEV-15532 after-merge fixes from Monty
The Galera tests were massively failing with debug assertions.
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index 573e4318682..ceb8dc1ade8 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -1544,7 +1544,7 @@ void THD::cleanup(void)
and left the mode a few lines above), there will be outstanding
metadata locks. Release them.
*/
- mdl_context.release_transactional_locks();
+ mdl_context.release_transactional_locks(this);
backup_end(this);
backup_unlock(this);