MySQL Forums
Forum List  »  Triggers

Re: Cross Database Triggers
Posted by: Matthew Clements
Date: August 28, 2006 03:36PM

ok.

Feel free to tell me to go read a book!

Is there a simple way of stopping a loop occuring between two triggers

i.e trigger on table 1 updates table 2
trigger on table 2 updates table 1

i am getting error 1442 Can't update table %s in stored function/trigger because it is already used by statement which invoked this stored function/trigger.
is there any error handing go ignore this or a simple way of not cascading?

Thanks again

Options: ReplyQuote


Subject
Views
Written By
Posted
6563
August 23, 2006 02:08PM
2825
August 23, 2006 02:36PM
2751
August 28, 2006 07:00AM
3005
August 28, 2006 08:47AM
2607
August 28, 2006 09:05AM
Re: Cross Database Triggers
3171
August 28, 2006 03:36PM
2575
August 28, 2006 03:58PM


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.