mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 07:23:03 +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:
parent
792fbc8b55
commit
1120684ffe
@ -6446,6 +6446,11 @@ static bool stream_in_rse(USHORT stream, const RecordSelExpr* rse)
|
||||
return true; // do not mark as variant
|
||||
}
|
||||
break;
|
||||
// procedures
|
||||
case nod_procedure:
|
||||
if (stream == (USHORT)(IPTR) sub->nod_arg[e_prc_stream])
|
||||
return true; // do not mark as variant
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user