summaryrefslogtreecommitdiff
path: root/mysql-test/t/innodb_cache.test
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-11-22 00:33:15 +0200
committerunknown <bell@sanja.is.com.ua>2002-11-22 00:33:15 +0200
commit03ac294cceb5619557fffacbf95901f4c5b1997f (patch)
treeb435c42cf5ff11d8d099465a4944b83164c4bdee /mysql-test/t/innodb_cache.test
parent910849ccd1f5f24e90de0f48091a4c6981c71126 (diff)
downloadmariadb-git-03ac294cceb5619557fffacbf95901f4c5b1997f.tar.gz
fixed invalidation of query cache
excluded double call of 'invalidate()' mysql-test/r/innodb_cache.result: test of invalidation mysql-test/t/innodb_cache.test: test of invalidation sql/handler.cc: excluded double call of 'invalidate()' sql/sql_delete.cc: fixed invalidation of query cache sql/sql_insert.cc: fixed invalidation of query cache sql/sql_update.cc: fixed invalidation of query cache
Diffstat (limited to 'mysql-test/t/innodb_cache.test')
-rw-r--r--mysql-test/t/innodb_cache.test9
1 files changed, 8 insertions, 1 deletions
diff --git a/mysql-test/t/innodb_cache.test b/mysql-test/t/innodb_cache.test
index 21d30420eaf..9066a5f19ba 100644
--- a/mysql-test/t/innodb_cache.test
+++ b/mysql-test/t/innodb_cache.test
@@ -47,4 +47,11 @@ select * from t3;
show status like "Qcache_queries_in_cache";
show status like "Qcache_hits";
commit;
-show status like "Qcache_queries_in_cache"; \ No newline at end of file
+show status like "Qcache_queries_in_cache";
+
+drop table if exists t1;
+CREATE TABLE t1 (id int(11) NOT NULL auto_increment, PRIMARY KEY (id)) TYPE=InnoDB;
+select count(*) from t1;
+insert into t1 (id) values (0);
+select count(*) from t1;
+drop table t1;