MySQL Forums
Forum List  »  Triggers

SOLVED: Queries called from triggers considered to be children or separate instances?
Posted by: Mike Ambrose
Date: December 06, 2010 01:49PM

To anyone interested, I was able to find the problem. I had my code like this:

END IF;
SET @DISABLE_TRIGGERS=NULL;

Instead of:

SET @DISABLE_TRIGGERS=NULL;
END IF;

So, my variable was being unset even if my IF statement was never run.

Options: ReplyQuote


Subject
Views
Written By
Posted
SOLVED: Queries called from triggers considered to be children or separate instances?
861
December 06, 2010 01:49PM


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.