mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
fixed another variable init
This commit is contained in:
parent
73f3195fe1
commit
61d9d213e9
@ -1023,10 +1023,12 @@ public:
|
||||
else if constexpr(result_is_decimal)
|
||||
scale_a = type.scaleFactorFor(left, is_multiply);
|
||||
else
|
||||
scale_a = 0.0; //won't be used
|
||||
scale_a = 0.0; //won't be used as the target column is not decimal
|
||||
|
||||
if constexpr(result_is_decimal)
|
||||
scale_b = type.scaleFactorFor(right, is_multiply || is_division);
|
||||
else
|
||||
scale_b = 0.0; //won't be used, same
|
||||
|
||||
/// non-vector result
|
||||
if (col_left_const && col_right_const)
|
||||
|
Loading…
Reference in New Issue
Block a user