diff --git a/dbms/include/DB/Storages/MergeTree/ActiveDataPartSet.h b/dbms/include/DB/Storages/MergeTree/ActiveDataPartSet.h index ec4509298b7..3cfdc8d8942 100644 --- a/dbms/include/DB/Storages/MergeTree/ActiveDataPartSet.h +++ b/dbms/include/DB/Storages/MergeTree/ActiveDataPartSet.h @@ -42,9 +42,6 @@ public: if (right != rhs.right) return right < rhs.right; - if (level != rhs.level) - return level < rhs.level; - return false; } @@ -53,7 +50,6 @@ public: { return left_month == rhs.left_month /// Куски за разные месяцы не объединяются && right_month == rhs.right_month - && level > rhs.level && left_date <= rhs.left_date && right_date >= rhs.right_date && left <= rhs.left