summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-12-01 16:23:28 +0200
committerMonty <monty@mariadb.org>2020-12-01 16:23:28 +0200
commit7edfed6305638366482d573f91b13f5594ffdd85 (patch)
treef8ac1b5af51402036cc68623d860d858d04adb9f
parent73f34336e33e979942a6eb38bdbc7d34ff092d85 (diff)
downloadmariadb-git-7edfed6305638366482d573f91b13f5594ffdd85.tar.gz
After merge fixes
Change thd->mdl_context.release_transactional_locks() to thd->mdl_release_transactional_locks()
-rw-r--r--sql/rpl_rli.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/rpl_rli.cc b/sql/rpl_rli.cc
index 5e6837c32c7..2218dfc76c2 100644
--- a/sql/rpl_rli.cc
+++ b/sql/rpl_rli.cc
@@ -1708,7 +1708,7 @@ scan_all_gtid_slave_pos_table(THD *thd, int (*cb)(THD *, LEX_CSTRING *, void *),
{
my_error(ER_FILE_NOT_FOUND, MYF(0), path, my_errno);
close_thread_tables(thd);
- thd->mdl_context.release_transactional_locks();
+ thd->release_transactional_locks();
return 1;
}
else
@@ -1721,7 +1721,7 @@ scan_all_gtid_slave_pos_table(THD *thd, int (*cb)(THD *, LEX_CSTRING *, void *),
err= ha_discover_table_names(thd, &MYSQL_SCHEMA_NAME, dirp, &tl, false);
my_dirend(dirp);
close_thread_tables(thd);
- thd->mdl_context.release_transactional_locks();
+ thd->release_transactional_locks();
if (err)
return err;