diff options
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index d0300b57bdb..358850dbd10 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -164,6 +164,8 @@ void mysql_rm_db(THD *thd,char *db,bool if_exists) } remove_db_from_cache(db); + ha_drop_database(path); + if ((deleted=mysql_rm_known_files(thd, dirp, path,0)) >= 0) { if (!thd->query) |