From 878f83151f58b8fbf1b6102f32c5bfabbca3c478 Mon Sep 17 00:00:00 2001 From: Sergey Vojtovich Date: Tue, 29 Jan 2019 23:36:44 +0400 Subject: Simplified dd_recreate_table() It is used only with persistent tables, so remove path argument, which was introduced in 9594107f and became useless after ce6a63e. Part of MDEV-17805 - Remove InnoDB cache for temporary tables. --- sql/datadict.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sql/datadict.h') diff --git a/sql/datadict.h b/sql/datadict.h index e102618c2f7..d4547a1f5f1 100644 --- a/sql/datadict.h +++ b/sql/datadict.h @@ -47,7 +47,6 @@ static inline bool dd_frm_is_view(THD *thd, char *path) return dd_frm_type(thd, path, NULL, ¬_used2) == TABLE_TYPE_VIEW; } -bool dd_recreate_table(THD *thd, const char *db, const char *table_name, - const char *path = NULL); +bool dd_recreate_table(THD *thd, const char *db, const char *table_name); #endif // DATADICT_INCLUDED -- cgit v1.2.1