diff options
author | bell@sanja.is.com.ua <> | 2002-03-23 00:18:20 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2002-03-23 00:18:20 +0200 |
commit | 2a32eaf82d3dbd7e8dcef7e74337783219a89713 (patch) | |
tree | c330643b4dcc0c529481dd4f7c0f503a4651450b /sql/sql_table.cc | |
parent | d2b4eb3e6b0f9d08dd9e429af2f019967419ee88 (diff) | |
parent | c5d95b5e627a48737c139daadef00c8046645bd7 (diff) | |
download | mariadb-git-2a32eaf82d3dbd7e8dcef7e74337783219a89713.tar.gz |
Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/work-qc-4.0
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index c6b0cc1d245..cda5d8c9b6b 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -161,7 +161,7 @@ int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists, } if (some_tables_deleted) { - query_cache.invalidate(thd, tables, 0); + query_cache_invalidate3(thd, tables, 0); if (!dont_log_query) { mysql_update_log.write(thd, thd->query,thd->query_length); @@ -1827,7 +1827,7 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name, VOID(pthread_cond_broadcast(&COND_refresh)); VOID(pthread_mutex_unlock(&LOCK_open)); table_list->table=0; // For query cache - query_cache.invalidate(thd, table_list, 0); + query_cache_invalidate3(thd, table_list, 0); end_temporary: sprintf(tmp_name,ER(ER_INSERT_INFO),(ulong) (copied+deleted), |