summaryrefslogtreecommitdiff
path: root/sql/sql_base.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2015-12-29 19:09:11 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-01-29 12:59:52 +0400
commiteff48be5f1f9aedd2b0d6690d0883d05ef7f44a1 (patch)
tree275320be953268d0fc59962f6e1a27f418228ab2 /sql/sql_base.h
parenta849d1bac80f2b38bc6bc170388e2f3cc1d4e1ad (diff)
downloadmariadb-git-bb-10.2-tc.tar.gz
MDEV-9488 - Table cache cleanupsbb-10.2-tc
Cleanup now unused arguments of tdc_open_view().
Diffstat (limited to 'sql/sql_base.h')
-rw-r--r--sql/sql_base.h11
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,