summaryrefslogtreecommitdiffstats
path: root/sql/sql_db.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sql/sql_db.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/sql/sql_db.h b/sql/sql_db.h
index 3c037d66..5b97e845 100644
--- a/sql/sql_db.h
+++ b/sql/sql_db.h
@@ -20,12 +20,12 @@
class THD;
-int mysql_create_db(THD *thd, const LEX_CSTRING *db, DDL_options_st options,
+int mysql_create_db(THD *thd, const Lex_ident_db &db, DDL_options_st options,
const Schema_specification_st *create);
-bool mysql_alter_db(THD *thd, const LEX_CSTRING *db,
+bool mysql_alter_db(THD *thd, const Lex_ident_db &db,
const Schema_specification_st *create);
-bool mysql_rm_db(THD *thd, const LEX_CSTRING *db, bool if_exists);
-bool mysql_upgrade_db(THD *thd, const LEX_CSTRING *old_db);
+bool mysql_rm_db(THD *thd, const Lex_ident_db &db, bool if_exists);
+bool mysql_upgrade_db(THD *thd, const Lex_ident_db &old_db);
uint mysql_change_db(THD *thd, const LEX_CSTRING *new_db_name,
bool force_switch);
@@ -44,9 +44,6 @@ CHARSET_INFO *get_default_db_collation(THD *thd, const char *db_name);
bool my_dbopt_init(void);
void my_dbopt_cleanup(void);
-const char *normalize_db_name(const char *db, char *buffer,
- size_t buffer_size);
-
void drop_database_objects(THD *thd, const LEX_CSTRING *path,
const LEX_CSTRING *db,
bool rm_mysql_schema);