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

Backported fix for CORE-3306 - Invariant sub-query is treated as variant thus causing multiple invokations of a nested stored procedure

This commit is contained in:
asfernandes 2011-01-12 00:15:13 +00:00
parent 792fbc8b55
commit 1120684ffe

View File

@ -6446,6 +6446,11 @@ static bool stream_in_rse(USHORT stream, const RecordSelExpr* rse)
return true; // do not mark as variant return true; // do not mark as variant
} }
break; break;
// procedures
case nod_procedure:
if (stream == (USHORT)(IPTR) sub->nod_arg[e_prc_stream])
return true; // do not mark as variant
break;
} }
} }