8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00

Cleanup the logic not used currently

This commit is contained in:
Dmitry Yemanov 2024-07-30 18:29:40 +03:00
parent 72d5cceebc
commit e63ba45f14

View File

@ -588,27 +588,6 @@ River* InnerJoin::formRiver()
} }
else else
{ {
StreamList depStreams;
if (optimizer->isSemiJoined() && rsbs.isEmpty())
{
const auto baseStream = getStreamInfo(stream.number);
for (const auto match : baseStream->baseMatches)
{
if (optimizer->checkEquiJoin(match))
{
for (const auto depStream : baseStream->baseDependentFromStreams)
{
if (match->containsStream(depStream))
depStreams.add(depStream);
}
}
}
}
StreamStateHolder stateHolder(csb, depStreams);
stateHolder.deactivate();
rsb = optimizer->generateRetrieval(stream.number, sortPtr, false, false); rsb = optimizer->generateRetrieval(stream.number, sortPtr, false, false);
} }