fix setNeeded() in PlanSquashing

This commit is contained in:
yariks5s 2024-06-13 14:52:34 +00:00
parent 4a72b36f28
commit c5159bc3aa

View File

@ -64,12 +64,12 @@ IProcessor::Status PlanSquashingTransform::prepareConsume()
for (auto & input : inputs) for (auto & input : inputs)
{ {
if (!input.isFinished()) if (!input.isFinished())
all_finished = false;
else
{ {
all_finished = false;
input.setNeeded(); input.setNeeded();
continue;
} }
else
continue;
if (input.hasData()) if (input.hasData())
{ {