1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix ordered index scan with partially specified key

This commit is contained in:
joreland@mysql.com
2004-08-27 00:59:16 +02:00
parent 9bc14a9605
commit 95e5b457b8
3 changed files with 13 additions and 7 deletions

View File

@ -205,4 +205,10 @@ a b c
select * from t1 where b<=5 and c=0 or b<=5 and c=2;
a b c
19 4 0
select count(*) from t1 where b = 0;
count(*)
0
select count(*) from t1 where b = 1;
count(*)
1
drop table t1;