Subject Re: [firebird-support] After update trigger: the same values for new.somefiled and old.somefield
Author setysvar
Den 28.08.2016 12:55, skrev 'Leyne, Sean' Sean@...
>>>>> I'm using Firebird
>>>> Any chance that another trigger is changing the value?
>>> I was thinking that myself, but Patrick said that it was the "old" value which
>> was being changed to the "new" value.
>> Right. Perhaps NEW is changed to OLD?
> Patrick??
> Please confirm the problem details.
> Sean
For testing, I think it would be preferable if the after update trigger
did INSERT and not UPDATE. That way, two new rows after the update would
indicate that somehow something was interfering and modifying the value.
Another thing to check is if there's any trigger on the table that the
AFTER UPDATE trigger is actually updating.