mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Loving tidy
This commit is contained in:
parent
1c414b9987
commit
17fdd2bd37
@ -44,8 +44,15 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
namespace
|
namespace ErrorCodes
|
||||||
{
|
{
|
||||||
|
extern const int ILLEGAL_COLUMN;
|
||||||
|
extern const int ILLEGAL_TYPE_OF_ARGUMENT;
|
||||||
|
extern const int LOGICAL_ERROR;
|
||||||
|
extern const int NOT_IMPLEMENTED;
|
||||||
|
extern const int BAD_ARGUMENTS;
|
||||||
|
}
|
||||||
|
|
||||||
template <bool _int, bool _float, bool _decimal, bool _datetime, typename F>
|
template <bool _int, bool _float, bool _decimal, bool _datetime, typename F>
|
||||||
static inline bool callOnAtLeastOneDecimalType(TypeIndex type_num1, TypeIndex type_num2, F && f)
|
static inline bool callOnAtLeastOneDecimalType(TypeIndex type_num1, TypeIndex type_num2, F && f)
|
||||||
{
|
{
|
||||||
@ -107,17 +114,6 @@ ColumnPtr executeDecimal(const ColumnWithTypeAndName & col_left, const ColumnWit
|
|||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
namespace ErrorCodes
|
|
||||||
{
|
|
||||||
extern const int ILLEGAL_COLUMN;
|
|
||||||
extern const int ILLEGAL_TYPE_OF_ARGUMENT;
|
|
||||||
extern const int LOGICAL_ERROR;
|
|
||||||
extern const int NOT_IMPLEMENTED;
|
|
||||||
extern const int BAD_ARGUMENTS;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/** Comparison functions: ==, !=, <, >, <=, >=.
|
/** Comparison functions: ==, !=, <, >, <=, >=.
|
||||||
|
Loading…
Reference in New Issue
Block a user