diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2015-12-29 19:09:11 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2016-02-26 18:36:31 +0400 |
commit | 3692bd3238fe04e9e2fe888c8a716673325ff97f (patch) | |
tree | fef7c2732bc70882514731a24c84d91ac166e9e1 /sql/sql_base.h | |
parent | c1d1c59888953d90ee2fb1ca32f9f44ca5b1055c (diff) | |
download | mariadb-git-3692bd3238fe04e9e2fe888c8a716673325ff97f.tar.gz |
MDEV-9488 - Table cache cleanups
Cleanup now unused arguments of tdc_open_view().
Diffstat (limited to 'sql/sql_base.h')
-rw-r--r-- | sql/sql_base.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sql/sql_base.h b/sql/sql_base.h index 7407e230419..ef249b3ab05 100644 --- a/sql/sql_base.h +++ b/sql/sql_base.h @@ -305,16 +305,7 @@ void close_all_tables_for_name(THD *thd, TABLE_SHARE *share, ha_extra_function extra, TABLE *skip_table); OPEN_TABLE_LIST *list_open_tables(THD *thd, const char *db, const char *wild); -bool tdc_open_view(THD *thd, TABLE_LIST *table_list, const char *alias, - const char *cache_key, uint cache_key_length, uint flags); - -static inline bool tdc_open_view(THD *thd, TABLE_LIST *table_list, - const char *alias, uint flags) -{ - const char *key; - uint key_length= get_table_def_key(table_list, &key); - return tdc_open_view(thd, table_list, alias, key, key_length, flags); -} +bool tdc_open_view(THD *thd, TABLE_LIST *table_list, uint flags); TABLE *find_table_for_mdl_upgrade(THD *thd, const char *db, const char *table_name, |