8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00

Fix boolean conversion to string inside DataTypeUtil::makeFromList() (#8178)

This commit is contained in:
Dmitry Yemanov 2024-07-10 13:46:25 +03:00 committed by GitHub
parent d217efed22
commit 56fe91a5ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
{