mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
After merge fixes
Change thd->mdl_context.release_transactional_locks() to thd->mdl_release_transactional_locks()
This commit is contained in:
parent
73f34336e3
commit
7edfed6305
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue