mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
possible fix for non-const mult
This commit is contained in:
parent
58ef4c34c0
commit
6b956a2a0d
@ -219,7 +219,8 @@ struct DecimalBinaryOperation
|
||||
NativeResultType scale_a [[maybe_unused]], NativeResultType scale_b [[maybe_unused]])
|
||||
{
|
||||
size_t size = a.size();
|
||||
if constexpr (is_plus_minus_compare)
|
||||
|
||||
if constexpr (is_plus_minus_compare || is_multiply)
|
||||
{
|
||||
if (scale_a != 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user