mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
Fix totals.
This commit is contained in:
parent
323f742c1b
commit
87472146b3
@ -676,7 +676,7 @@ void InterpreterSelectQuery::executeImpl(TPipeline & pipeline, const BlockInputS
|
||||
if (prepared_input)
|
||||
{
|
||||
if constexpr (pipeline_with_processors)
|
||||
pipeline.init({std::make_shared<SourceFromInputStream>(std::make_shared<InputStreamHolder>(prepared_input))});
|
||||
pipeline.init({std::make_shared<SourceFromInputStream>(prepared_input)});
|
||||
else
|
||||
pipeline.streams.push_back(prepared_input);
|
||||
}
|
||||
@ -778,8 +778,7 @@ void InterpreterSelectQuery::executeImpl(TPipeline & pipeline, const BlockInputS
|
||||
|
||||
if constexpr (pipeline_with_processors)
|
||||
{
|
||||
auto holder = std::make_shared<InputStreamHolder>(std::move(stream));
|
||||
auto source = std::make_shared<SourceFromInputStream>(std::move(holder));
|
||||
auto source = std::make_shared<SourceFromInputStream>(std::move(stream));
|
||||
pipeline.addDelayedStream(source);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user