Skip to content

Commit

Permalink
move an assignment location(next = t->next)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangmin5505 committed Dec 11, 2024
1 parent 121dd1c commit c5b1261
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/object/trigger_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -5941,10 +5941,10 @@ tr_execute_deferred_activities (DB_OBJECT * trigger_object, DB_OBJECT * target)
}

tail = tr_Deferred_activities->tail;
next = NULL;

do
{
next = t->next;
trigger = t->trigger;

if ((trigger_object == NULL || trigger->object == trigger_object) && (target == NULL || t->target == target))
Expand All @@ -5956,7 +5956,6 @@ tr_execute_deferred_activities (DB_OBJECT * trigger_object, DB_OBJECT * target)
* If it turns out that we really want to keep these active, we'll have to contend with
* what pt_exec_trigger_stmt is going to do when we pass it deleted objects.
*/
next = t->next;
remove_deferred_activity (t);
}
else
Expand Down

0 comments on commit c5b1261

Please sign in to comment.