mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:03:03 +01:00
Fix boolean conversion to string inside DataTypeUtil::makeFromList()
This commit is contained in:
parent
33085744b8
commit
f6cc85c957
@ -172,12 +172,7 @@ void DataTypeUtilBase::makeFromList(dsc* result, const char* expressionName, int
|
|||||||
if (result->isUnknown())
|
if (result->isUnknown())
|
||||||
*result = *arg;
|
*result = *arg;
|
||||||
else if (result->dsc_dtype != arg->dsc_dtype)
|
else if (result->dsc_dtype != arg->dsc_dtype)
|
||||||
{
|
makeBlobOrText(result, arg, true);
|
||||||
// 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));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else // we don't support this datatype here
|
else // we don't support this datatype here
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user