Loving tidy

This commit is contained in:
Raúl Marín 2024-11-20 02:06:29 +01:00
parent 1c414b9987
commit 17fdd2bd37

View File

@ -44,8 +44,15 @@
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>
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;
}
}
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: ==, !=, <, >, <=, >=.