From f6cc85c957c558340853f6696ff7fec59f361a98 Mon Sep 17 00:00:00 2001 From: dimitr Date: Wed, 10 Jul 2024 10:12:33 +0300 Subject: [PATCH] Fix boolean conversion to string inside DataTypeUtil::makeFromList() --- src/jrd/DataTypeUtil.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/jrd/DataTypeUtil.cpp b/src/jrd/DataTypeUtil.cpp index b6fef634c0..581ab20135 100644 --- a/src/jrd/DataTypeUtil.cpp +++ b/src/jrd/DataTypeUtil.cpp @@ -172,12 +172,7 @@ void DataTypeUtilBase::makeFromList(dsc* result, const char* expressionName, int if (result->isUnknown()) *result = *arg; else if (result->dsc_dtype != arg->dsc_dtype) - { - // Datatypes @1are not comparable in expression @2 - status_exception::raise(Arg::Gds(isc_sqlerr) << Arg::Num(-104) << - Arg::Gds(isc_dsql_datatypes_not_comparable) << Arg::Str("") << - Arg::Str(expressionName)); - } + makeBlobOrText(result, arg, true); } else // we don't support this datatype here {