mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Fix traverse.
This commit is contained in:
parent
904647f02e
commit
f39ad1f79a
@ -18,7 +18,7 @@ void traverse(IProcessor & processor, Visit && visit)
|
||||
|
||||
if (status == IProcessor::Status::NeedData)
|
||||
for (auto & input : processor.getInputs())
|
||||
if (input.isNeeded())
|
||||
if (input.isNeeded() && !input.hasData())
|
||||
traverse(input.getOutputPort().getProcessor(), std::forward<Visit>(visit));
|
||||
|
||||
if (status == IProcessor::Status::PortFull)
|
||||
|
Loading…
Reference in New Issue
Block a user