mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Fix weird error in code
This commit is contained in:
parent
55f86851f1
commit
04d85db385
@ -36,10 +36,13 @@ inline bool allowDecimalComparison(const DataTypePtr & left_type, const DataType
|
||||
return false;
|
||||
}
|
||||
|
||||
template <size_t > struct ConstructDecInt { using Type = Int32; };
|
||||
template <size_t> struct ConstructDecInt;
|
||||
template <> struct ConstructDecInt<1> { using Type = Int32; };
|
||||
template <> struct ConstructDecInt<2> { using Type = Int32; };
|
||||
template <> struct ConstructDecInt<4> { using Type = Int32; };
|
||||
template <> struct ConstructDecInt<8> { using Type = Int64; };
|
||||
template <> struct ConstructDecInt<16> { using Type = Int128; };
|
||||
template <> struct ConstructDecInt<48> { using Type = Int256; };
|
||||
template <> struct ConstructDecInt<32> { using Type = Int256; };
|
||||
|
||||
template <typename T, typename U>
|
||||
struct DecCompareInt
|
||||
|
Loading…
Reference in New Issue
Block a user