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
This commit is contained in:
unknown 2005-03-11 11:07:32 -08:00
commit befe4fa99f
3 changed files with 37 additions and 3 deletions

View file

@ -672,4 +672,16 @@ select group_concat(a) FROM t1 group by b;
set group_concat_max_len=default;
drop table t1;
SET GLOBAL query_cache_size=0;
# Bug #8480: REPAIR TABLE needs to flush the table from the query cache
set global query_cache_size=1024*1024;
flush query cache;
create table t1 ( a int );
insert into t1 values (1);
select a from t1;
select a from t1;
show status like 'qcache_queries_in_cache';
repair table t1;
show status like 'qcache_queries_in_cache';
drop table t1;
set GLOBAL query_cache_size=0;