summaryrefslogtreecommitdiff
path: root/mysql-test/t/handler.test
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2004-05-19 23:20:42 +0400
committerunknown <sergefp@mysql.com>2004-05-19 23:20:42 +0400
commit0cc766f425fe8f9dc38d87db45089ddc773e6d2d (patch)
treedbdbcf11780f6466655401b96976884f9d720c96 /mysql-test/t/handler.test
parentbf8e565bb7f20c32849e3559a422f323483ea513 (diff)
parent063c3752450b8270af11f0890c4f27c968d08699 (diff)
downloadmariadb-git-0cc766f425fe8f9dc38d87db45089ddc773e6d2d.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/t/handler.test')
-rw-r--r--mysql-test/t/handler.test12
1 files changed, 12 insertions, 0 deletions
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;
+