diff options
author | unknown <sergefp@mysql.com> | 2004-05-19 23:20:42 +0400 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2004-05-19 23:20:42 +0400 |
commit | 32f2ecd4751968104fa5c07f5311683e92632c08 (patch) | |
tree | dbdbcf11780f6466655401b96976884f9d720c96 /mysql-test | |
parent | 6e8252a534ae419f1209bb717631849656f5e7eb (diff) | |
parent | ea44ccb00f770387bad01eff938866a38d013a75 (diff) | |
download | mariadb-git-32f2ecd4751968104fa5c07f5311683e92632c08.tar.gz |
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/dbdata/psergey/mysql-4.0-root
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/handler.result | 12 | ||||
-rw-r--r-- | mysql-test/t/handler.test | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/mysql-test/r/handler.result b/mysql-test/r/handler.result index 1cfc3a9de8b..50d51cf14f4 100644 --- a/mysql-test/r/handler.result +++ b/mysql-test/r/handler.result @@ -191,3 +191,15 @@ Ok handler t close; use test; drop table t1; +create table t1 ( a int, b int, INDEX a (a) ); +insert into t1 values (1,2), (2,1); +handler t1 open; +handler t1 read a=(1) where b=2; +a b +1 2 +handler t1 read a=(1) where b=3; +a b +handler t1 read a=(1) where b=1; +a b +handler t1 close; +drop table t1; diff --git a/mysql-test/t/handler.test b/mysql-test/t/handler.test index 936902fd9bf..1f7f32c930a 100644 --- a/mysql-test/t/handler.test +++ b/mysql-test/t/handler.test @@ -123,3 +123,15 @@ handler t close; use test; drop table t1; +# +# BUG#3649 +# +create table t1 ( a int, b int, INDEX a (a) ); +insert into t1 values (1,2), (2,1); +handler t1 open; +handler t1 read a=(1) where b=2; +handler t1 read a=(1) where b=3; +handler t1 read a=(1) where b=1; +handler t1 close; +drop table t1; + |