MySQL Forums
Forum List  »  Triggers

Re: why the trigger is not working while refering other tables?
Posted by: Jay Pipes
Date: July 04, 2005 12:33PM

dude. I tried your code and got similar results. I tried a number of different variations, with your table structures and got same results.

Then, I tried a similar structure (three tables, with auto-increment keys and two chained triggers, and it worked, though the auto-increment keys were off by one. As this was a bug, I reported it to MySQL promptly via the bug interface.

I suggest you do the same, though I would clean up your code and make it simpler and more generic first.

Cheers dude.

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: why the trigger is not working while refering other tables?
2454
July 04, 2005 12:33PM


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.