1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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

@ -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;