Fix build.

This commit is contained in:
Nikolai Kochetov 2020-06-19 11:30:21 +03:00
parent cda4de40d7
commit 6708ae75f3

View File

@ -981,7 +981,7 @@ void InterpreterSelectQuery::executeImpl(QueryPlan & query_plan, const BlockInpu
/// because in that case columns from 'ORDER BY' are used.
if (query.limit_with_ties)
{
executeLimit(pipeline);
executeLimit(query_plan);
has_prelimit = true;
}