Skip to content

Commit adf19fc

Browse files
committed
Fix boolean conversion to string inside DataTypeUtil::makeFromList() (#8178)
1 parent 6e07e3a commit adf19fc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/jrd/DataTypeUtil.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,7 @@ void DataTypeUtilBase::makeFromList(dsc* result, const char* expressionName, int
172172
if (result->isUnknown())
173173
*result = *arg;
174174
else if (result->dsc_dtype != arg->dsc_dtype)
175-
{
176-
// Datatypes @1are not comparable in expression @2
177-
status_exception::raise(Arg::Gds(isc_sqlerr) << Arg::Num(-104) <<
178-
Arg::Gds(isc_dsql_datatypes_not_comparable) << Arg::Str("") <<
179-
Arg::Str(expressionName));
180-
}
175+
makeBlobOrText(result, arg, true);
181176
}
182177
else // we don't support this datatype here
183178
{

0 commit comments

Comments
 (0)