MySQL Forums
Forum List  »  Triggers

Re: Logging trigger activity and RAISE error
Posted by: Peter Brawley
Date: October 18, 2011 01:23PM

Odd. If you add ...

SELECT Row_Count() INTO @insertN;

after the INSERT INTO trigger_log cmd, @insertN gets set to 1, yet no row gets added to trigger_log unless you comment out the SIGNAL call. Consider reporting this as a bug.

PB

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Logging trigger activity and RAISE error
2575
October 18, 2011 01:23PM


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.