summaryrefslogtreecommitdiff
path: root/sql/datadict.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2019-01-29 23:36:44 +0400
committerSergey Vojtovich <svoj@mariadb.org>2019-04-03 16:47:26 +0400
commit878f83151f58b8fbf1b6102f32c5bfabbca3c478 (patch)
treea5dfe87c0ae54c1e895a7c028c88e6b4b2414ab2 /sql/datadict.h
parent1dac55cf0ef4a412d56ea870835e1e199a400820 (diff)
downloadmariadb-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.h3
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, &not_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