1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix ordered index scan with partially specified key

This commit is contained in:
unknown
2004-08-27 00:59:16 +02:00
parent fccc404a10
commit b5ebc0f259
3 changed files with 13 additions and 7 deletions

View File

@ -113,6 +113,9 @@ select * from t1 where b<=5 and c=0;
select * from t1 where b=4 and c<=5 order by a;
select * from t1 where b<=4 and c<=5 order by a;
select * from t1 where b<=5 and c=0 or b<=5 and c=2;
select count(*) from t1 where b = 0;
select count(*) from t1 where b = 1;
drop table t1;
#