From c693a73385a8218fb72b8099669422958e600f24 Mon Sep 17 00:00:00 2001 From: chertus Date: Mon, 10 Sep 2018 20:51:25 +0300 Subject: [PATCH] hotfix (helpers refactoring) --- dbms/src/AggregateFunctions/Helpers.h | 73 ++++++++----------- .../src/AggregateFunctions/HelpersMinMaxAny.h | 1 - 2 files changed, 32 insertions(+), 42 deletions(-) diff --git a/dbms/src/AggregateFunctions/Helpers.h b/dbms/src/AggregateFunctions/Helpers.h index 82385860d3f..e5d9d726eff 100644 --- a/dbms/src/AggregateFunctions/Helpers.h +++ b/dbms/src/AggregateFunctions/Helpers.h @@ -3,13 +3,6 @@ #include #include - -#define FOR_UNSIGNED_INTEGER_TYPES(M) \ - M(UInt8) \ - M(UInt16) \ - M(UInt32) \ - M(UInt64) - #define FOR_NUMERIC_TYPES(M) \ M(UInt8) \ M(UInt16) \ @@ -22,20 +15,6 @@ M(Float32) \ M(Float64) -#define FOR_NUMERIC_TYPES_AND_ENUMS(M) \ - M(UInt8) \ - M(UInt16) \ - M(UInt32) \ - M(UInt64) \ - M(Int8) \ - M(Int16) \ - M(Int32) \ - M(Int64) \ - M(Float32) \ - M(Float64) \ - M(UInt8) \ - M(UInt16) - namespace DB { @@ -45,10 +24,12 @@ template