MySQL Forums
Forum List  »  Triggers

Re: Execute 'After Insert' trigger only after insert is commited
Posted by: Peter Brawley
Date: June 14, 2011 09:10AM

App executes the insert. If it fails, app pops errmsg. If it succeeds, app executes the code you wanted to include in a post-commit trigger. If that fails, app undoes the original insert and pops errmsg. Else app pops success msg.

PB

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Execute 'After Insert' trigger only after insert is commited
1377
June 14, 2011 09:10AM


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.