Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhangxian1008 committed Jul 5, 2022
1 parent 339014a commit e931521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Functions/FunctionsString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4578,7 +4578,7 @@ class FormatImpl : public IFunction
auto input_scale = getDecimalScale(number_type, 0);

TiDBDecimalRoundInfo info{input_prec, input_scale};

return getPrecisionType(precision_base_type, [&](const auto & precision_type, bool) {
using PrecisionType = std::decay_t<decltype(precision_type)>;
using PrecisionFieldType = typename PrecisionType::FieldType;
Expand Down

0 comments on commit e931521

Please sign in to comment.