MySQL Forums
Forum List  »  Triggers

Re: Update with join
Posted by: Devart Team
Date: March 03, 2011 02:05AM

Check the triggers. You have created triggers ON acl_table, and then you are trying to modify this table, it is not possible.
From the reference - Within a stored function or trigger, it is not permitted to modify a table that is already being used (for reading or writing) by the statement that invoked the function or trigger.

Also, you have two 'AFTER UPDATE ON gatekeeper.acl_table' triggers, MySQL does not allow this.
From the reference - There cannot be two triggers for a given table that have the same trigger action time and event. For example, you cannot have two BEFORE UPDATE triggers for a table. But you can have a BEFORE UPDATE and a BEFORE INSERT trigger, or a BEFORE UPDATE and an AFTER UPDATE trigger.

Devart Company,
MySQL management tools
http://www.devart.com/dbforge/mysql/

Options: ReplyQuote


Subject
Views
Written By
Posted
4201
March 02, 2011 06:30AM
Re: Update with join
1402
March 03, 2011 02:05AM
1219
March 03, 2011 08:22AM
1248
March 04, 2011 02:48AM


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.