mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 18:43:02 +01:00
Fixed the bug I introduced during optimizer refactoring, thanks to Andrey Kravchenko
This commit is contained in:
parent
c5af128afb
commit
c1fd30a344
@ -2264,7 +2264,10 @@ InversionCandidate* Retrieval::matchOnIndexes(IndexScratchList& inputIndexScratc
|
||||
matches.add(match);
|
||||
|
||||
for (const auto match : invCandidate2->matches)
|
||||
matches.add(match);
|
||||
{
|
||||
if (matches.exist(match))
|
||||
invCandidate->matches.add(match);
|
||||
}
|
||||
}
|
||||
|
||||
return invCandidate;
|
||||
|
Loading…
Reference in New Issue
Block a user