Skip to content

Commit a916ea7

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/jrd/Optimizer.cpp

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

15561556
if (bestCandidate->condition)
15571557
{
1558+
bestCandidate->used = true;
15581559
bestCandidate = currentInv;
15591560
restartLoop = true;
15601561
break;

0 commit comments

Comments
 (0)