From 0c6129ac7cae4630b09050cc7947adbd7365dcaf Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Sat, 20 Jun 2020 11:52:41 +0300 Subject: [PATCH] Fix build. --- src/Interpreters/InterpreterSelectQuery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interpreters/InterpreterSelectQuery.cpp b/src/Interpreters/InterpreterSelectQuery.cpp index 0d03118822e..65c5a77a46c 100644 --- a/src/Interpreters/InterpreterSelectQuery.cpp +++ b/src/Interpreters/InterpreterSelectQuery.cpp @@ -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.