[PDOException] SQLSTATE: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';END' at line 13
Magento generates following query:
CREATE TRIGGER some_trigger BEFORE INSERT ON some_table FOR EACH ROW
/* dummy */;
So, ::addStatement should use some heuristics for auto-adding semicolon after each statement, or doesn't add it at all.