Re: TRIGGERs using AFTER UPDATE are not updated
Well, an after update trigger selecting a new.column value into a user variable reliably returns the updated value, so the problem is with the UDF, not with Triggers and Updates.
My guess is that what the UDF does is seen by InnoDB as external to the update, so a Select performed by the UDF will see pre-commit values. If that's so, you need a different method of broadcasting the change.
Subject
Views
Written By
Posted
1614
September 09, 2016 07:21PM
Re: TRIGGERs using AFTER UPDATE are not updated
824
September 09, 2016 08:13PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.