summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-08-09 01:20:02 +0200
committerunknown <serg@serg.mylan>2003-08-09 01:20:02 +0200
commit8d816967531e4399d7ff3c5fd1b7c2234f5801b5 (patch)
treeb6d3d8e680eb6f5723b8115ec5b1c034da0105a7 /mysql-test
parenta71ef9e643f21b79fa9051cc6fc8ea27705fe8cb (diff)
downloadmariadb-git-8d816967531e4399d7ff3c5fd1b7c2234f5801b5.tar.gz
BETWEEN bug fix: non-const expressions on both ends
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/range.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/range.result b/mysql-test/r/range.result
index 4e0476fdacd..5da6f6c30e1 100644
--- a/mysql-test/r/range.result
+++ b/mysql-test/r/range.result
@@ -240,7 +240,7 @@ t2 range x x 5 NULL 4 Using where
explain select * from t1, t1 t2 where t1.y = 2 and t2.x between t1.y-1 and t1.y+1;
table type possible_keys key key_len ref rows Extra
t1 ref y y 5 const 1 Using where
-t2 ALL x NULL NULL NULL 9 Using where
+t2 ALL x NULL NULL NULL 9 Range checked for each record (index map: 1)
explain select * from t1, t1 t2 where t1.y = 2 and t2.x >= t1.y-1 and t2.x <= t1.y+1;
table type possible_keys key key_len ref rows Extra
t1 ref y y 5 const 1 Using where