Skip to content

Commit 4e4a869

Browse files
committed
Fix #8926: Indexes may not be used for multiple ORed conditions containing both field and non-field references
1 parent 23c149a commit 4e4a869

2 files changed

Lines changed: 2557 additions & 0 deletions

File tree

src/jrd/Optimizer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,6 +1570,7 @@ InversionCandidate* OptimizerRetrieval::makeInversion(InversionCandidateList* in
15701570

15711571
if (bestCandidate->condition)
15721572
{
1573+
bestCandidate->used = true;
15731574
bestCandidate = currentInv;
15741575
restartLoop = true;
15751576
break;

0 commit comments

Comments
 (0)