Skip to content

Commit

Permalink
Fixed flyway#1927 Flyway 5 regression when line in multi line string …
Browse files Browse the repository at this point in the history
…starts with single line comment
  • Loading branch information
Axel Fontaine committed Feb 17, 2018
1 parent 813e591 commit 440db19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
###### What version and edition of Flyway are you using?
###### Which version and edition of Flyway are you using?



###### If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)



###### Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)



###### What database are you using (type & version)?
###### Which database are you using (type & version)?



###### What operating system are you using?
###### Which operating system are you using?



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void addLine(String line) {
String lineSimplified = simplifyLine(line);

applyStateChanges(lineSimplified);
if (endWithOpenMultilineStringLiteral() || insideMultiLineComment || isSingleLineComment(lineSimplified)) {
if (endWithOpenMultilineStringLiteral() || insideMultiLineComment) {
statement.append(line);
return;
}
Expand Down

0 comments on commit 440db19

Please sign in to comment.