Issue Type: Bug Bug
Assignee: Tony Chemit
Created: 12/Dec/12 2:52 AM
Description:

SQL header begins with '---' (3 dashes).

On MySQL, the 3rd dash seems NOT to be considered as a comment.
Thus it breaks the SQL file syntax, and MySQL cannot import it.

Here is a sample file (without license, but with the '---'):

---
CREATE TABLE `some_table` (`id` varchar(255));

As a result of "mysql < create_some_table.sql", I have:

ERROR 1064 (42000) at line 1: 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 '-
CREATE TABLE `some_table` (`id` varchar(255))' at line 1
Project: Mojo's License Maven Plugin
Priority: Major Major
Reporter: Arnaud Thimel
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to