mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 15:23:03 +01:00
Fixed the bug I introduced during optimizer refactoring, thanks to Andrey Kravchenko
This commit is contained in:
parent
304d19bb6f
commit
b8014996a6
@ -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