diff options
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index 3158c8cbf7b..b7f078e7b2b 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -159,6 +159,7 @@ int mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent) if ((deleted=mysql_rm_known_files(thd, dirp, db, path,0)) >= 0 && thd) { ha_drop_database(path); + query_cache.invalidate(db); if (!silent) { if (!thd->query) |