summaryrefslogtreecommitdiff
path: root/sql/wsrep_schema.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/wsrep_schema.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/wsrep_schema.cc')
-rw-r--r--sql/wsrep_schema.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_schema.cc b/sql/wsrep_schema.cc
index b1ad718255d..8a47bbec9b0 100644
--- a/sql/wsrep_schema.cc
+++ b/sql/wsrep_schema.cc
@@ -855,7 +855,7 @@ Wsrep_view Wsrep_schema::restore_view(THD* thd, const Wsrep_id& own_id) const {
close_thread_tables(thd);
}
}
- thd->mdl_context.release_transactional_locks();
+ thd->release_transactional_locks();
thd->variables.wsrep_sync_wait= wsrep_sync_wait_saved;