mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
fix fuzzer
This commit is contained in:
parent
0557cdb8a9
commit
0576aa2b7f
@ -1719,7 +1719,7 @@ public:
|
||||
}
|
||||
}
|
||||
else if constexpr (((IsDataTypeDecimal<LeftDataType> && IsFloatingPoint<RightDataType>) ||
|
||||
(IsDataTypeDecimal<RightDataType> && IsFloatingPoint<LeftDataType>)) && !(is_div_int || is_div_int_or_zero))
|
||||
(IsDataTypeDecimal<RightDataType> && IsFloatingPoint<LeftDataType>)))
|
||||
{
|
||||
if constexpr ((is_div_int || is_div_int_or_zero) && IsDataTypeDecimal<LeftDataType>)
|
||||
{
|
||||
@ -1760,7 +1760,7 @@ public:
|
||||
}
|
||||
else if constexpr (IsDataTypeDecimal<RightDataType>)
|
||||
{
|
||||
if constexpr ((is_div_int || is_div_int_or_zero) && IsIntegral<LeftDataType>)
|
||||
if constexpr ((is_div_int || is_div_int_or_zero) && IsIntegralOrExtended<LeftDataType>)
|
||||
type_res = std::make_shared<LeftDataType>();
|
||||
else if constexpr (is_div_int || is_div_int_or_zero)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user