summaryrefslogtreecommitdiff
path: root/mysql-test/t/bdb.test
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-09-11 20:24:14 +0300
committermonty@mashka.mysql.fi <>2003-09-11 20:24:14 +0300
commit73f66f68fd9588d89a0dac8457bab8e713ae7a49 (patch)
tree20f0ccc7be8e0d205ea5a00d6ec5f57a14d85d3f /mysql-test/t/bdb.test
parent45aa92c574e032bcf85b7207732158433e64afd5 (diff)
parent62103fff405545e022c61721c62eec0e5d7d264d (diff)
downloadmariadb-git-73f66f68fd9588d89a0dac8457bab8e713ae7a49.tar.gz
merge with 4.0.15
Diffstat (limited to 'mysql-test/t/bdb.test')
-rw-r--r--mysql-test/t/bdb.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/bdb.test b/mysql-test/t/bdb.test
index 27755e51b7f..a0fbc56a9da 100644
--- a/mysql-test/t/bdb.test
+++ b/mysql-test/t/bdb.test
@@ -776,3 +776,16 @@ select * from t1;
select * from t2;
select * from t2;
drop table t1,t2;
+
+#
+# The bug #971
+#
+
+create table t1 (x int not null, index(x)) type=bdb;
+insert into t1 values (1), (2), (3), (4), (5), (6), (7), (8), (9), (10);
+select * from t1 where x <= 10 and x >= 7;
+select * from t1 where x <= 10 and x >= 7 order by x;
+select * from t1 where x <= 10 and x >= 7 order by x desc;
+select * from t1 where x <= 8 and x >= 5 order by x desc;
+select * from t1 where x < 8 and x > 5 order by x desc;
+drop table t1;