Line break settings are not respected (Windows) #1420
What version of Flyway are you using?
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
What database are you using (type & version)?
MS SQL Server 12
What operating system are you using?
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
I created the following sql script:
with the settings UTF-8, Windows Line Endings (CR/LF) and named it
Then I executed flyway:
What did you expect to see?
I expected flyway to recreate the stored procedure exactly as I specified it in the sql script file.
What did you see instead?
When I opened Microsoft SQL Server Management Studio and tried to modify the stored procedure there was an error box complaining about inconsistent line breaks and offering to repair it.
Since I am usually not doing any Java projects I do want to submit a pr, but I think I found the responsible line in the code:
This should not use a hardcoded
I can provide more info or test changes if you need anything.
The text was updated successfully, but these errors were encountered: