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

Attempted to please the GCC compiler. If this doesn't help, another solution is to be backported from trunk.

This commit is contained in:
dimitr 2013-06-20 07:41:21 +00:00
parent 73a39d54a4
commit 0e5d964350

View File

@ -1700,8 +1700,8 @@ static jrd_req* execute_triggers(thread_db* tdbb,
{
ptr->compile(tdbb);
trigger = EXE_find_request(tdbb, ptr->request, false);
trigger->req_rpb[0].rpb_record = old_rec ? old_rec : null_rec;
trigger->req_rpb[1].rpb_record = new_rec ? new_rec : null_rec;
trigger->req_rpb[0].rpb_record = old_rec ? old_rec : (Record*) null_rec;
trigger->req_rpb[1].rpb_record = new_rec ? new_rec : (Record*) null_rec;
if (old_rec && trigger_action != jrd_req::req_trigger_insert)
{