From 6ffdcb38a22ed8c1f9cdb59152c573f40d3f5cd2 Mon Sep 17 00:00:00 2001 From: zhang2014 Date: Fri, 21 Dec 2018 19:37:33 +0800 Subject: [PATCH] Fix check data type with converts function --- dbms/src/Functions/FunctionsConversion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Functions/FunctionsConversion.h b/dbms/src/Functions/FunctionsConversion.h index e461a4542f8..0e0bf218db3 100644 --- a/dbms/src/Functions/FunctionsConversion.h +++ b/dbms/src/Functions/FunctionsConversion.h @@ -1157,7 +1157,7 @@ struct ToIntMonotonicity } /// If type is same, too. (Enum has separate case, because it is different data type) - if (checkAndGetDataType>(&type) || + if (checkAndGetDataType>(&type) || checkAndGetDataType>(&type)) return { true, true, true };