From ddb042bbff9dd3908b99bd1fc3b3be0068e8deb5 Mon Sep 17 00:00:00 2001 From: asfernandes Date: Tue, 5 Aug 2008 15:16:58 +0000 Subject: [PATCH] Fixed CORE-2031 - Null in the first record in a condition on rdb$db_key --- src/jrd/exe.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jrd/exe.cpp b/src/jrd/exe.cpp index f8c818a29f..a380e1af54 100644 --- a/src/jrd/exe.cpp +++ b/src/jrd/exe.cpp @@ -3169,6 +3169,9 @@ static jrd_nod* modify(thread_db* tdbb, jrd_nod* node, SSHORT which_trig) } /* for (fmt_count) */ } + new_rpb->rpb_number = org_rpb->rpb_number; + new_rpb->rpb_number.setValid(true); + if (node->nod_arg[e_mod_map_view]) { impure->sta_state = 1; return node->nod_arg[e_mod_map_view];