Skip to content

Commit

Permalink
p3 more index test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Sweetsuro committed Mar 12, 2024
1 parent ae9650e commit c8a8832
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/sql/p3.05-index-scan.slt
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,18 @@ select * from t1 where v1 = 7 or v1 = 3 or 5 = v1;
3 30 645
5 10 445

query +ensure:index_scan
select * from t1 where v1 = 3 or v1 = 3 or v1 = 3
----
3 30 645

query +ensure:index_scan
select * from t1 where v1 = 3 or v1 = 5 or v1 = 1 or v1 = 5
----
5 10 445
1 50 645
3 30 645

query +ensure:seq_scan
select * from t1 where v1 = 7 or v1 = 3 or 5 = v1 or 3 = v2;
----
Expand Down

0 comments on commit c8a8832

Please sign in to comment.