mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 10:10:50 +00:00
Update FinishSortingBlockInputStream.cpp
This commit is contained in:
parent
4449d7e059
commit
21e7c25134
@ -64,7 +64,7 @@ struct Less
|
||||
|
||||
Block FinishSortingBlockInputStream::readImpl()
|
||||
{
|
||||
if (limit && total_rows_processed == limit)
|
||||
if (limit && total_rows_processed >= limit)
|
||||
return {};
|
||||
|
||||
Block res;
|
||||
|
Loading…
Reference in New Issue
Block a user