mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 09:20:39 +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);
|
matches.add(match);
|
||||||
|
|
||||||
for (const auto match : invCandidate2->matches)
|
for (const auto match : invCandidate2->matches)
|
||||||
matches.add(match);
|
{
|
||||||
|
if (matches.exist(match))
|
||||||
|
invCandidate->matches.add(match);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return invCandidate;
|
return invCandidate;
|
||||||
|
Loading…
Reference in New Issue
Block a user