summaryrefslogtreecommitdiff
path: root/sql/sql_admin.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2015-12-29 14:58:17 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-02-26 18:35:14 +0400
commitc1d1c59888953d90ee2fb1ca32f9f44ca5b1055c (patch)
tree3599bbda8ff32499aced3b51f4d1fd22d78c516c /sql/sql_admin.cc
parentd3af8942350e87d809fdf4d9453d5210ada2d3d1 (diff)
downloadmariadb-git-c1d1c59888953d90ee2fb1ca32f9f44ca5b1055c.tar.gz
MDEV-9488 - Table cache cleanups
Remove tdc_acquire_share() helpers: they don't actually make things simpler.
Diffstat (limited to 'sql/sql_admin.cc')
-rw-r--r--sql/sql_admin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_admin.cc b/sql/sql_admin.cc
index 8b58f062a3e..7da2e4c032a 100644
--- a/sql/sql_admin.cc
+++ b/sql/sql_admin.cc
@@ -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