8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:43:04 +01:00
This commit is contained in:
asfernandes 2008-03-26 02:13:34 +00:00
parent a87ec4d5bd
commit 5496df8839
2 changed files with 5 additions and 9 deletions

View File

@ -47,7 +47,7 @@ template <typename What>
class ArrayDelete
{
public:
static void clear(What *ptr)
static void clear(What* ptr)
{
delete[] ptr;
}

View File

@ -1361,8 +1361,7 @@ static jrd_nod* erase(thread_db* tdbb, jrd_nod* node, SSHORT which_trig)
if (relation->rel_post_erase &&
which_trig != PRE_TRIG &&
(trigger = execute_triggers(tdbb, &relation->rel_post_erase,
rpb, NULL,
jrd_req::req_trigger_delete, POST_TRIG)))
rpb, NULL, jrd_req::req_trigger_delete, POST_TRIG)))
{
trigger_failure(tdbb, trigger);
}
@ -3017,8 +3016,7 @@ static jrd_nod* modify(thread_db* tdbb, jrd_nod* node, SSHORT which_trig)
if (relation->rel_post_modify &&
which_trig != PRE_TRIG &&
(trigger = execute_triggers(tdbb, &relation->rel_post_modify,
org_rpb, new_rpb,
jrd_req::req_trigger_update, POST_TRIG)))
org_rpb, new_rpb, jrd_req::req_trigger_update, POST_TRIG)))
{
trigger_failure(tdbb, trigger);
}
@ -3761,8 +3759,7 @@ static jrd_nod* store(thread_db* tdbb, jrd_nod* node, SSHORT which_trig)
if (relation->rel_pre_store &&
(which_trig != POST_TRIG) &&
(trigger = execute_triggers(tdbb, &relation->rel_pre_store,
NULL, rpb,
jrd_req::req_trigger_insert, PRE_TRIG)))
NULL, rpb, jrd_req::req_trigger_insert, PRE_TRIG)))
{
trigger_failure(tdbb, trigger);
}
@ -3806,8 +3803,7 @@ static jrd_nod* store(thread_db* tdbb, jrd_nod* node, SSHORT which_trig)
if (relation->rel_post_store &&
(which_trig != PRE_TRIG) &&
(trigger = execute_triggers(tdbb, &relation->rel_post_store,
NULL, rpb,
jrd_req::req_trigger_insert, POST_TRIG)))
NULL, rpb, jrd_req::req_trigger_insert, POST_TRIG)))
{
trigger_failure(tdbb, trigger);
}