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
Support trailing single line comments #63
Comments
From business.axelfontaine.eu@googlemail.com on November 22, 2010 17:52:18 Flyway's sql parser currently only supports single line comments that span the whole line (not trailing behind some other statement, or part of a statement). As a workaround you can move your comment to the previous line. This will work and won't trip the parser. I renamed this issue to reflect the missing parser feature. It is non-trivial to implement correctly though. MySQL supports both single and double quotes to delimit strings literals. These delimiters can then be escaped in various ways (double quote or preceding backslash). A potential implementation for this will need to carefully track all these things. Can you let me know if this workaround worked for you? If so, I'll update the documentation to make this limition clearer. How critical are trailing single line comments for you? Cheers, |
From dan...@danielgarcia.info on November 23, 2010 01:13:56 Is there some documentation describing the work flow for developing flyway? I'd like to contribute changes to the parser. Moreover, is there a mailing list for this project? Thanks, |
From dan...@danielgarcia.info on November 23, 2010 01:18:49 Thanks, |
From business.axelfontaine.eu@googlemail.com on November 23, 2010 10:43:09 I've logged a separate issue for the newlines: http://code.google.com/p/flyway/issues/detail?id=65 Cheers, |
From business.axelfontaine.eu@googlemail.com on November 23, 2010 10:47:56 I've logged 2 more issues for the
Cheers, |
From axel.fontaine.business@gmail.com on February 19, 2011 19:47:16 |
From axel.fontaine.business@gmail.com on February 19, 2011 19:50:27 |
From axel.fontaine.business@gmail.com on February 19, 2011 19:57:10 |
From axel.fontaine.business@gmail.com on March 14, 2013 10:47:39 |
Hi Axel, What's the ETA for 5.2.0? Seeing that this issue has been dragging since 3.1, I guess it's not that important since it has a relatively easy workaround. What would you estimate the odds of it being fixed in 5.2.0? |
Ohh, I see. So this is gonna linger for a while... |
Fixed. At last! |
This seems to me broken for me for MySQL Edit: Nevermind, I am on 5.2.4 which explains why it's still not fixed in my version. |
Original issue: http://code.google.com/p/flyway/issues/detail?id=63
The text was updated successfully, but these errors were encountered: