diff --git a/dbms/src/DataTypes/FieldToDataType.cpp b/dbms/src/DataTypes/FieldToDataType.cpp index 77980c26418..10f083173e4 100644 --- a/dbms/src/DataTypes/FieldToDataType.cpp +++ b/dbms/src/DataTypes/FieldToDataType.cpp @@ -73,7 +73,7 @@ DataTypePtr FieldToDataType::operator() (const DecimalField & x) cons DataTypePtr FieldToDataType::operator() (const DecimalField & x) const { - using Type = DataTypeDecimal; + using Type = DataTypeDecimal; return std::make_shared(Type::maxPrecision(), x.getScale()); }