diff --git a/dbms/include/DB/Common/CombinedCardinalityEstimator.h b/dbms/include/DB/Common/CombinedCardinalityEstimator.h index 269c279bdad..3c43a90261b 100644 --- a/dbms/include/DB/Common/CombinedCardinalityEstimator.h +++ b/dbms/include/DB/Common/CombinedCardinalityEstimator.h @@ -155,15 +155,9 @@ public: if (container_type == details::ContainerType::SMALL) small.read(in); else if (container_type == details::ContainerType::MEDIUM) - { - toMedium(); getContainer().read(in); - } else if (container_type == details::ContainerType::LARGE) - { - toLarge(); getContainer().read(in); - } } void readAndMerge(DB::ReadBuffer & in)