mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Fix build useless binary
This commit is contained in:
parent
55adb6f9f2
commit
bd24c3a059
@ -19,8 +19,8 @@ int main(int, char **)
|
||||
{
|
||||
using namespace DB;
|
||||
|
||||
IMergeSelector::Partitions partitions(1);
|
||||
IMergeSelector::PartsInPartition & parts = partitions.back();
|
||||
IMergeSelector::PartsRanges partitions(1);
|
||||
IMergeSelector::PartsRange & parts = partitions.back();
|
||||
|
||||
/* SimpleMergeSelector::Settings settings;
|
||||
SimpleMergeSelector selector(settings);*/
|
||||
@ -52,7 +52,7 @@ int main(int, char **)
|
||||
|
||||
while (parts.size() > 1)
|
||||
{
|
||||
IMergeSelector::PartsInPartition selected_parts = selector.select(partitions, 100ULL * 1024 * 1024 * 1024);
|
||||
IMergeSelector::PartsRange selected_parts = selector.select(partitions, 100ULL * 1024 * 1024 * 1024);
|
||||
|
||||
if (selected_parts.empty())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user