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:
parent
72d5cceebc
commit
e63ba45f14
@ -588,27 +588,6 @@ River* InnerJoin::formRiver()
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user