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

Fixed #7391 - AV when compiling stored procedure.

This commit is contained in:
Adriano dos Santos Fernandes 2022-11-25 08:47:24 -03:00
parent db6e98fce3
commit 979c03be35

View File

@ -9649,7 +9649,7 @@ ParameterNode* ParameterNode::copy(thread_db* tdbb, NodeCopier& copier) const
// in nod_argument. If it doesn't, it may be an input parameter cloned
// in RseBoolNode::convertNeqAllToNotAny - see CORE-3094.
if (copier.message && copier.message->messageNumber == message->messageNumber)
if (copier.message && copier.message->messageNumber == messageNumber)
node->message = copier.message;
else
node->message = message;