1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fixed invalidation of query cache

excluded double call of 'invalidate()'
This commit is contained in:
bell@sanja.is.com.ua
2002-11-22 00:33:15 +02:00
parent dd1b7e0c84
commit ed99de7dcc
6 changed files with 30 additions and 20 deletions

View File

@ -98,3 +98,13 @@ commit;
show status like "Qcache_queries_in_cache";
Variable_name Value
Qcache_queries_in_cache 1
drop table if exists t1;
CREATE TABLE t1 (id int(11) NOT NULL auto_increment, PRIMARY KEY (id)) TYPE=InnoDB;
select count(*) from t1;
count(*)
0
insert into t1 (id) values (0);
select count(*) from t1;
count(*)
1
drop table t1;