mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 15:23:02 +01:00
Fixed CORE-1150 - Error conversion error from string " " using outer join on int64 and int fields
This commit is contained in:
parent
ba78c399e8
commit
0b3e789230
@ -1085,9 +1085,15 @@ dsc* EVL_expr(thread_db* tdbb, jrd_nod* const node)
|
||||
ptr < end;)
|
||||
{
|
||||
*v++ = EVL_expr(tdbb, *ptr++);
|
||||
// ASF: CAST target type may be constrained
|
||||
if (node->nod_type != nod_cast && (request->req_flags & req_null))
|
||||
return NULL;
|
||||
|
||||
if (request->req_flags & req_null)
|
||||
{
|
||||
// ASF: CAST target type may be constrained
|
||||
if (node->nod_type == nod_cast)
|
||||
*(v - 1) = NULL;
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user