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?
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Which database are you using (type & version)?
Which operating system are you using?
Windows 10 (MySQL running in Linux Docker container)
What did you do?
I have found the below migration crashes due to the following error: Flyway parsing bug: unable to decrease block depth below 0.
SQL with schema, table, variable names removed:
DROP EVENT [..].[..];
CREATE EVENT [..].[..]
ON SCHEDULE EVERY 1 SECOND STARTS CURRENT_TIMESTAMP()
ON COMPLETION PRESERVE
DECLARE [...] SMALLINT;
DECLARE [...] DATE;
[...].[...] AS s
s.[...] = 1
IF NOT EXISTS (
[...].[...] AS rh
rh.[...] = [...]
CALL [...].[...]([...], [...]);
What did you expect to see?
THe migration executed successfully.
What did you see instead?
The migration was not executed due to the following error: Flyway parsing bug: unable to decrease block depth below 0.
The text was updated successfully, but these errors were encountered: