diff options
Diffstat (limited to 'sql/sql_db.h')
-rw-r--r-- | sql/sql_db.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sql/sql_db.h b/sql/sql_db.h index 1f447c11a52..ed8417a7793 100644 --- a/sql/sql_db.h +++ b/sql/sql_db.h @@ -19,11 +19,12 @@ #include "hash.h" /* HASH */ class THD; -typedef struct st_ha_create_information HA_CREATE_INFO; -int mysql_create_db(THD *thd, char *db, HA_CREATE_INFO *create, bool silent); -bool mysql_alter_db(THD *thd, const char *db, HA_CREATE_INFO *create); -bool mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent); +int mysql_create_db(THD *thd, char *db, DDL_options_st options, + const Schema_specification_st *create); +bool mysql_alter_db(THD *thd, const char *db, + const Schema_specification_st *create); +bool mysql_rm_db(THD *thd, char *db, bool if_exists); bool mysql_upgrade_db(THD *thd, LEX_STRING *old_db); bool mysql_change_db(THD *thd, const LEX_STRING *new_db_name, bool force_switch); @@ -36,9 +37,9 @@ bool mysql_opt_change_db(THD *thd, bool my_dboptions_cache_init(void); void my_dboptions_cache_free(void); bool check_db_dir_existence(const char *db_name); -bool load_db_opt(THD *thd, const char *path, HA_CREATE_INFO *create); +bool load_db_opt(THD *thd, const char *path, Schema_specification_st *create); bool load_db_opt_by_name(THD *thd, const char *db_name, - HA_CREATE_INFO *db_create_info); + Schema_specification_st *db_create_info); CHARSET_INFO *get_default_db_collation(THD *thd, const char *db_name); bool my_dbopt_init(void); void my_dbopt_cleanup(void); |