As I wrote earlier in Using the MySQL Test Suite I found an issue with using the current MySQL Sakila Sample Database as a test with mysqltest.
I was running an older version of 5.1.7 beta so I figured the best course of action was to upgrade to 5.1.11 beta.
Well the problem still exists, and I found that the cause was due to the syntax of the DELIMITER command. Assuming the creation of the schema tables, here is an example of what I found.
Running in an interactive mysql session the following works
DROP TRIGGER ins_film; DELIMITER ;; CREATE TRIGGER `ins_film` AFTER INSERT ON `film` FOR EACH ROW BEGIN INSERT INTO film_text (film_id, title, description) VALUES (new.film_id, new.title, new.description); END;; DELIMITER ;
On a side note, why does DROP TRIGGER not …
[Read more]