diff options
author | monty@mashka.mysql.fi <> | 2002-11-24 21:44:25 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-11-24 21:44:25 +0200 |
commit | 05c732e7796f54a5d7facf0adf5f1bbf592b7ecf (patch) | |
tree | bfcde66d89b433e74a73c08683ef369eb5039814 /mysql-test | |
parent | 7dede8d303b6af108b4813794d2ba9d560fac897 (diff) | |
parent | a96d3ca93accbbd3cc5ba39c8fd7c47d752294d1 (diff) | |
download | mariadb-git-05c732e7796f54a5d7facf0adf5f1bbf592b7ecf.tar.gz |
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/innodb_cache.result | 10 | ||||
-rw-r--r-- | mysql-test/t/innodb_cache.test | 9 |
2 files changed, 18 insertions, 1 deletions
diff --git a/mysql-test/r/innodb_cache.result b/mysql-test/r/innodb_cache.result index eaa030046da..47abcb45fe5 100644 --- a/mysql-test/r/innodb_cache.result +++ b/mysql-test/r/innodb_cache.result @@ -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; 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; |