1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-7280 DATABASE: CREATE OR REPLACE

This commit is contained in:
Alexander Barkov
2014-12-10 08:13:08 +04:00
parent c6d3f8058d
commit dd270e43bf
10 changed files with 287 additions and 48 deletions

View File

@ -22,10 +22,10 @@ class THD;
int mysql_create_db(THD *thd, char *db,
const DDL_options_st &options,
Schema_specification_st *create, bool silent);
const Schema_specification_st *create);
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);
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);