Fix build.

This commit is contained in:
Nikolai Kochetov 2020-06-20 11:52:41 +03:00
parent 4d70cc34c1
commit 0c6129ac7c

View File

@ -1258,7 +1258,7 @@ void InterpreterSelectQuery::executeFetchColumns(
ErrorCodes::TOO_MANY_COLUMNS);
/// General limit for the number of threads.
pipeline.setMaxThreads(settings.max_threads);
query_plan.setMaxThreads(settings.max_threads);
/** With distributed query processing, almost no computations are done in the threads,
* but wait and receive data from remote servers.