Update creating sets.

This commit is contained in:
Nikolai Kochetov 2020-10-13 16:48:00 +03:00
parent 2a62a91af4
commit 2bbdfc77ea
3 changed files with 3 additions and 3 deletions

View File

@ -1907,7 +1907,7 @@ void InterpreterSelectQuery::executeSubqueriesInSetsAndJoins(QueryPlan & query_p
const Settings & settings = context->getSettingsRef();
SizeLimits limits(settings.max_rows_to_transfer, settings.max_bytes_to_transfer, settings.transfer_overflow_mode);
addCreatingSetsStep(query_plan, std::move(subqueries_for_sets), limits, *context);
addCreatingSetsStep(query_plan, subqueries_for_sets, limits, *context);
}

View File

@ -108,7 +108,7 @@ void CreatingSetsStep::describePipeline(FormatSettings & settings) const
}
void addCreatingSetsStep(
QueryPlan & query_plan, SubqueriesForSets subqueries_for_sets, const SizeLimits & limits, const Context & context)
QueryPlan & query_plan, SubqueriesForSets & subqueries_for_sets, const SizeLimits & limits, const Context & context)
{
DataStreams input_streams;
input_streams.emplace_back(query_plan.getCurrentDataStream());

View File

@ -48,7 +48,7 @@ private:
void addCreatingSetsStep(
QueryPlan & query_plan,
SubqueriesForSets subqueries_for_sets,
SubqueriesForSets & subqueries_for_sets,
const SizeLimits & limits,
const Context & context);