MySQL Forums
Forum List  »  Triggers

Re: Problem with simple trigger
Posted by: Dmitri Lenev
Date: January 18, 2006 09:25AM

Hello, Henrik!

Your example works for me (altough I get some amount of warnings).
The important thing to note is that in my case system variable sql_mode set to '' (empty value) for this connection.
If I do "set @sql_mode:='traditional';" before doing insert then I get exactly the same error as you.
And AFAIU this is expected behavior.

Hope this helps!

--
Dmitri Lenev, Software Developer
MySQL AB, www.mysql.com

Options: ReplyQuote


Subject
Views
Written By
Posted
2693
January 16, 2006 01:55PM
1806
January 16, 2006 05:26PM
1867
January 17, 2006 12:44PM
Re: Problem with simple trigger
1794
January 18, 2006 09:25AM


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.