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

Fixed CORE-1798 - RDB$DB_KEY evaluates to NULL in INSERT ... RETURNING

This commit is contained in:
asfernandes 2008-03-21 17:05:21 +00:00
parent de30e29853
commit 827afb7aa4

View File

@ -3777,6 +3777,8 @@ static jrd_nod* store(thread_db* tdbb, jrd_nod* node, SSHORT which_trig)
}
}
rpb->rpb_number.setValid(true);
if (relation->rel_post_store &&
(which_trig != PRE_TRIG) &&
(trigger = execute_triggers(tdbb, &relation->rel_post_store,