Merge branch 'master' of github.com:yandex/ClickHouse

This commit is contained in:
Alexey Milovidov 2017-12-24 09:50:28 +03:00
commit 486a498b9f

View File

@ -1222,7 +1222,7 @@ void InterpreterSelectQuery::executePreLimit()
{
transformStreams([&](auto & stream)
{
stream = std::make_shared<LimitBlockInputStream>(stream, limit_length + limit_offset, false);
stream = std::make_shared<LimitBlockInputStream>(stream, limit_length + limit_offset, 0, false);
});
if (hasMoreThanOneStream())