summaryrefslogtreecommitdiff
path: root/sql/sql_show.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-07-08 19:39:06 +0200
committerSergei Golubchik <sergii@pisem.net>2014-07-08 19:39:06 +0200
commit5045615cd945b137c1f6b7c5e4c1bb960eb3b287 (patch)
treec9849487c5e533225bc5dcb831bcc7841883c80d /sql/sql_show.h
parentca2ba2291af7e93893febed414e2ae98a5abd543 (diff)
downloadmariadb-git-5045615cd945b137c1f6b7c5e4c1bb960eb3b287.tar.gz
small cleanup of the SHOW CREATE TABLE code
Diffstat (limited to 'sql/sql_show.h')
-rw-r--r--sql/sql_show.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_show.h b/sql/sql_show.h
index 708a77d74cd..ce7a9110cca 100644
--- a/sql/sql_show.h
+++ b/sql/sql_show.h
@@ -74,10 +74,10 @@ typedef struct system_status_var STATUS_VAR;
#define IS_FILES_STATUS 36
#define IS_FILES_EXTRA 37
-int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
- HA_CREATE_INFO *create_info_arg, bool show_database,
- bool create_or_replace);
-int view_store_create_info(THD *thd, TABLE_LIST *table, String *buff);
+typedef enum { WITHOUT_DB_NAME, WITH_DB_NAME } enum_with_db_name;
+int show_create_table(THD *thd, TABLE_LIST *table_list, String *packet,
+ HA_CREATE_INFO *create_info_arg,
+ enum_with_db_name with_db_name);
int copy_event_to_schema_table(THD *thd, TABLE *sch_table, TABLE *event_table);