mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
fix setNeeded() in PlanSquashing
This commit is contained in:
parent
4a72b36f28
commit
c5159bc3aa
@ -64,12 +64,12 @@ IProcessor::Status PlanSquashingTransform::prepareConsume()
|
||||
for (auto & input : inputs)
|
||||
{
|
||||
if (!input.isFinished())
|
||||
all_finished = false;
|
||||
else
|
||||
{
|
||||
all_finished = false;
|
||||
input.setNeeded();
|
||||
continue;
|
||||
}
|
||||
else
|
||||
continue;
|
||||
|
||||
if (input.hasData())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user