Fix check data type with converts function

This commit is contained in:
zhang2014 2018-12-21 19:37:33 +08:00
parent d7ac2b3afd
commit 6ffdcb38a2

View File

@ -1157,7 +1157,7 @@ struct ToIntMonotonicity
}
/// If type is same, too. (Enum has separate case, because it is different data type)
if (checkAndGetDataType<DataTypeNumberBase<T>>(&type) ||
if (checkAndGetDataType<DataTypeNumber<T>>(&type) ||
checkAndGetDataType<DataTypeEnum<T>>(&type))
return { true, true, true };