8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 19:23:03 +01:00

Fixed CORE-1150 - Error conversion error from string " " using outer join on int64 and int fields

This commit is contained in:
asfernandes 2007-03-02 15:22:48 +00:00
parent ba78c399e8
commit 0b3e789230

View File

@ -1085,11 +1085,17 @@ dsc* EVL_expr(thread_db* tdbb, jrd_nod* const node)
ptr < end;)
{
*v++ = EVL_expr(tdbb, *ptr++);
if (request->req_flags & req_null)
{
// ASF: CAST target type may be constrained
if (node->nod_type != nod_cast && (request->req_flags & req_null))
if (node->nod_type == nod_cast)
*(v - 1) = NULL;
else
return NULL;
}
}
}
switch (node->nod_type) {
case nod_gen_id: // return a 32-bit generator value