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@...
[firebird-support]:
>>>>> I'm using Firebird 2.5.2.26539.
>>>> 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.

Set