summaryrefslogtreecommitdiff
path: root/mysql-test/t/range.test
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-11-22 22:57:05 +0100
committerserg@serg.mylan <>2004-11-22 22:57:05 +0100
commitf862ba478825b871ab9078aadedbff7e1d654a2c (patch)
treef4bb78470b9d12744fe1091be398ea6137419ae3 /mysql-test/t/range.test
parentee933cd1986fcbe14eb37cf732e92fe3692a7461 (diff)
downloadmariadb-git-f862ba478825b871ab9078aadedbff7e1d654a2c.tar.gz
post-merge
Diffstat (limited to 'mysql-test/t/range.test')
-rw-r--r--mysql-test/t/range.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/range.test b/mysql-test/t/range.test
index 0b96f71d585..18cf614f338 100644
--- a/mysql-test/t/range.test
+++ b/mysql-test/t/range.test
@@ -181,8 +181,8 @@ create table t1 (x int, y int, index(x), index(y));
insert into t1 (x) values (1),(2),(3),(4),(5),(6),(7),(8),(9);
update t1 set y=x;
# between with only one end fixed
-explain select * from t1, t1 t2 where t1.y = 2 and t2.x between 7 and t1.y+0;
-explain select * from t1, t1 t2 where t1.y = 2 and t2.x >= 7 and t2.x <= t1.y+0;
+explain select * from t1, t1 t2 where t1.y = 8 and t2.x between 7 and t1.y+0;
+explain select * from t1, t1 t2 where t1.y = 8 and t2.x >= 7 and t2.x <= t1.y+0;
# between with both expressions on both ends
explain select * from t1, t1 t2 where t1.y = 2 and t2.x between t1.y-1 and t1.y+1;
explain select * from t1, t1 t2 where t1.y = 2 and t2.x >= t1.y-1 and t2.x <= t1.y+1;