diff options
author | Michael Widenius <monty@askmonty.org> | 2012-02-21 01:58:50 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-02-21 01:58:50 +0200 |
commit | 15c5a2686f6367d5a280813ad96ef86bd0ee0fc0 (patch) | |
tree | a1e008c4e92b63efa9cea54ed5ab837fa2b7e229 /mysql-test/suite/innodb/t/innodb.test | |
parent | 84a3767c1912c34e79cde72a51e4cf69d235587e (diff) | |
parent | 522b289607ce10ff3e44fdf8035ae1c29bffe4f4 (diff) | |
download | mariadb-git-15c5a2686f6367d5a280813ad96ef86bd0ee0fc0.tar.gz |
Merge with MariaDB 5.2
Diffstat (limited to 'mysql-test/suite/innodb/t/innodb.test')
-rw-r--r-- | mysql-test/suite/innodb/t/innodb.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/innodb.test b/mysql-test/suite/innodb/t/innodb.test index 72893f562c1..5df7347c552 100644 --- a/mysql-test/suite/innodb/t/innodb.test +++ b/mysql-test/suite/innodb/t/innodb.test @@ -1394,6 +1394,17 @@ eval set storage_engine=$default; -- disable_query_log SET GLOBAL innodb_thread_concurrency = @innodb_thread_concurrency_orig; +# +# Test fix for bug 13117023. InnoDB increments HA_READ_KEY_COUNT (aka +# HANDLER_READ_KEY) when it should not. +# +create table t1 (f1 integer primary key) engine=innodb; +flush status; +show status like "handler_read_key"; +select f1 from t1; +show status like "handler_read_key"; +drop table t1; + ####################################################################### # # # Please, DO NOT TOUCH this file as well as the innodb.result file. # |