diff options
author | unknown <jimw@mysql.com> | 2005-03-11 11:07:32 -0800 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-03-11 11:07:32 -0800 |
commit | befe4fa99f377292ed7dcc1e47e4052d7204e488 (patch) | |
tree | 4f7243853e672ad30afb3da59732b0090b4c9784 /sql | |
parent | d4e7d91f3e41c6e81820c78b504a2b9bf0988bc6 (diff) | |
parent | 8e24e6079f0a0e60dee696a9164bf4d8356c9630 (diff) | |
download | mariadb-git-befe4fa99f377292ed7dcc1e47e4052d7204e488.tar.gz |
Merge test and results
sql/sql_table.cc:
Auto merged
mysql-test/r/query_cache.result:
Update results
mysql-test/t/query_cache.test:
Merge tests
Diffstat (limited to 'sql')
-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 5f3875ba934..fffef49effc 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -1971,7 +1971,9 @@ static int 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; } int result_code = (table->table->file->*operator_func)(thd, check_opt); |