diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2019-01-29 23:36:44 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-04-03 16:47:26 +0400 |
commit | 878f83151f58b8fbf1b6102f32c5bfabbca3c478 (patch) | |
tree | a5dfe87c0ae54c1e895a7c028c88e6b4b2414ab2 /sql/datadict.h | |
parent | 1dac55cf0ef4a412d56ea870835e1e199a400820 (diff) | |
download | mariadb-git-878f83151f58b8fbf1b6102f32c5bfabbca3c478.tar.gz |
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.
Diffstat (limited to 'sql/datadict.h')
-rw-r--r-- | sql/datadict.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 |