MySQL Forums
Forum List  »  Quality Assurance

Problems with using triggers with
Posted by: John Steuber
Date: November 06, 2012 06:26PM

•Software version: 5.1.66-0ubuntu0.10.04.1

Hey guys I added a trigger to a table and its crashing giving a 500 error on any pages that uses the table.


it works fine on my local server which i use mysql 5.5

but on 5.1.66 it does this

BEGIN
IF NEW.endurance > 1 THEN
SET NEW.endurance = 1;
END IF;
END



No idea whats going on :( is this a known bug or something

Options: ReplyQuote


Subject
Views
Written By
Posted
Problems with using triggers with
1510
November 06, 2012 06:26PM


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.