mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 18:50:49 +00:00
Try fix tests.
This commit is contained in:
parent
d5ab2e5331
commit
bbecbff546
@ -122,8 +122,11 @@ void MergingSortedTransform::merge(TSortingHeap & queue)
|
|||||||
};
|
};
|
||||||
|
|
||||||
/// Take rows in required order and put them into `merged_data`, while the rows are no more than `max_block_size`
|
/// Take rows in required order and put them into `merged_data`, while the rows are no more than `max_block_size`
|
||||||
while (queue.isValid() && can_read_another_row())
|
while (queue.isValid())
|
||||||
{
|
{
|
||||||
|
if (!can_read_another_row())
|
||||||
|
return;
|
||||||
|
|
||||||
auto current = queue.current();
|
auto current = queue.current();
|
||||||
|
|
||||||
/** And what if the block is totally less or equal than the rest for the current cursor?
|
/** And what if the block is totally less or equal than the rest for the current cursor?
|
||||||
|
Loading…
Reference in New Issue
Block a user