diff options
author | unknown <serg@serg.mylan> | 2003-08-08 19:13:27 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-08-08 19:13:27 +0200 |
commit | a71ef9e643f21b79fa9051cc6fc8ea27705fe8cb (patch) | |
tree | 61eae20a2c39ae18b114db54388a986cfc775424 /mysql-test | |
parent | 2e6d30072c501f30daff34c134cc4b4cba565950 (diff) | |
download | mariadb-git-a71ef9e643f21b79fa9051cc6fc8ea27705fe8cb.tar.gz |
between range optimization bug (between with const on one end only)
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/range.result | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/range.result b/mysql-test/r/range.result index 5a4d2228778..4e0476fdacd 100644 --- a/mysql-test/r/range.result +++ b/mysql-test/r/range.result @@ -232,7 +232,7 @@ update t1 set y=x; explain select * from t1, t1 t2 where t1.y = 2 and t2.x between 7 and t1.y+0; 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 range x x 5 NULL 4 Using where explain select * from t1, t1 t2 where t1.y = 2 and t2.x >= 7 and t2.x <= t1.y+0; table type possible_keys key key_len ref rows Extra t1 ref y y 5 const 1 Using where |