Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
HSQLDBParser now instead struggles with block depth count #2442
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)
Java API and Maven Plugin
Which database are you using (type & version)?
Which operating system are you using?
Linux and OS X
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
What did you expect to see?
A successful migration, worked in version 4 and 5.
What did you see instead?
A failed migration, the parser believes that there is only ONE single statement, it failes to separate the rows at the ; and newline.
As stated above, DROP TABLE IF EXISTS mytable CASCADE; is enough to trigger the error.
The comment also contains details of where in the code the error resides. The pull-request also gives indications of where to start looking.