mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
MDEV-9488 - Table cache cleanups
Remove tdc_acquire_share() helpers: they don't actually make things simpler.
This commit is contained in:
parent
d3af894235
commit
c1d1c59888
7 changed files with 17 additions and 72 deletions
|
|
@ -131,7 +131,7 @@ static int prepare_for_repair(THD *thd, TABLE_LIST *table_list,
|
|||
DBUG_RETURN(0);
|
||||
has_mdl_lock= TRUE;
|
||||
|
||||
share= tdc_acquire_share_shortlived(thd, table_list, GTS_TABLE);
|
||||
share= tdc_acquire_share(thd, table_list, GTS_TABLE);
|
||||
if (share == NULL)
|
||||
DBUG_RETURN(0); // Can't open frm file
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue