mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
Fix error
This commit is contained in:
parent
7e432add14
commit
7126032ec8
@ -58,7 +58,7 @@ TrivialMergeSelector::PartsRange TrivialMergeSelector::select(
|
||||
|
||||
if (!max_total_size_to_merge || total_size <= max_total_size_to_merge)
|
||||
{
|
||||
candidates.emplace_back(&partition[left], &partition[right]);
|
||||
candidates.emplace_back(partition.data() + left, partition.data() + right);
|
||||
if (candidates.size() == settings.num_ranges_to_choose)
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user