diff options
author | unknown <jimw@mysql.com> | 2005-03-11 12:38:38 -0800 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-03-11 12:38:38 -0800 |
commit | b1e512128ba2d58252593f042b60e0477a7614e8 (patch) | |
tree | 10adde9e8ee7cca4e7eae23df5f17b607ddddcf4 /sql/sql_table.cc | |
parent | 5aed41290a912118cd7488c5d9f9ce50c11a1aa0 (diff) | |
parent | 81647853a13a016a5cfffdfe9d171733f52fa16d (diff) | |
download | mariadb-git-b1e512128ba2d58252593f042b60e0477a7614e8.tar.gz |
Merge query_cache tests
Build-tools/Do-compile:
Auto merged
mysql-test/mysql-test-run.sh:
Auto merged
mysql-test/r/join_outer.result:
Auto merged
mysql-test/t/join_outer.test:
Auto merged
scripts/make_win_src_distribution.sh:
Auto merged
scripts/mysqld_safe.sh:
Auto merged
sql/item_cmpfunc.h:
Auto merged
sql/sql_table.cc:
Auto merged
mysql-test/r/query_cache.result:
Update results
mysql-test/t/query_cache.test:
Merge test
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 31a1f51b085..2f872b2ad05 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -2144,7 +2144,9 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables, thd->exit_cond(old_message); if (thd->killed) goto err; - open_for_modify=0; + /* Flush entries in the query cache involving this table. */ + query_cache_invalidate3(thd, table->table, 0); + open_for_modify= 0; } result_code = (table->table->file->*operator_func)(thd, check_opt); |