diff options
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index 30e7262cae0..032cbf3d6a3 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -159,7 +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); + query_cache_invalidate1(db); if (!silent) { if (!thd->query) |