I submitted a new ant task for 1.6.5 named MySQLExec.java
It handles the mysql specific delimiter command (found in mysqldumps of triggers and stored procedures) and it handles varchar/text fields that contain -- such as xml comments stored in a text field. http://issues.apache.org/bugzilla/show_bug.cgi?id=40922