diff options
author | Alexander Barkov <bar@mariadb.org> | 2014-12-08 10:56:08 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2014-12-08 10:56:08 +0400 |
commit | c6d3f8058db30a6621e36b05564a1b2ae68bec7f (patch) | |
tree | 0fa3846bc82e7abc7ba46b58776ac98c30412d07 /sql/sql_db.h | |
parent | b372720177cececb499b96b5e6d422b32d85729c (diff) | |
download | mariadb-git-c6d3f8058db30a6621e36b05564a1b2ae68bec7f.tar.gz |
MDEV-7112 Split HA_CREATE_INFO
Diffstat (limited to 'sql/sql_db.h')
-rw-r--r-- | sql/sql_db.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sql/sql_db.h b/sql/sql_db.h index 62d379c515d..bdd525779f0 100644 --- a/sql/sql_db.h +++ b/sql/sql_db.h @@ -20,9 +20,12 @@ class THD; -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, + const DDL_options_st &options, + Schema_specification_st *create, bool silent); +bool mysql_alter_db(THD *thd, const char *db, + Schema_specification_st *create); +bool mysql_rm_db(THD *thd, char *db, bool if_exists, bool silent); 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); @@ -35,9 +38,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); |