Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL statement not recognized due to a space character at the end of a comment directive #557

Closed
kongslund opened this issue Jul 21, 2013 · 1 comment

Comments

@kongslund
Copy link

@kongslund kongslund commented Jul 21, 2013

Using Flyway version 2.2 I discovered an issue with merging an initial MySQL dump of an existing database schema.

Flyway does not recognize the following line as a statement:
/*!50003 SET @saved_cs_client = @@character_set_client */ ;

The reason is due to the space between */ and ;. If I remove the space then Flyway considers the line to be a statement.

I would like to point out that the space was added by the mysqldump tool. Not all comment directives in my dump have such a space but some does.

@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Apr 15, 2014

Sorry for the late reply. Thanks for reporting this. I finally got around to fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants