MySQL Forums
Forum List  »  Triggers

Re: Suppressing triggers while restoring a database
Posted by: Bob Field
Date: February 20, 2006 10:10AM

Actually it's not commented out. What you see is a special construct to keep older versions of MySQL that don't support triggers from executing it. Also, if you notice, the trigger is created after the data is loaded. When the table is dropped at the start of the dump file, so is the trigger.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Suppressing triggers while restoring a database
1636
February 20, 2006 10: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.