Dry run doesn't intercept UPDATE run with executeQuery() #2374
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)
Which database are you using (type & version)?
Which operating system are you using?
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?
I should have seen the same successful output with
What did you see instead?
I ran the command (as I fully expected the migration to succeed):
The text was updated successfully, but these errors were encountered:
Unfortunately, I wasn't able to reproduce the issue outside of the proprietary framework we're using. I've included the debug logs when performing the dry run as well as the logs on the actual run (minus the 8,000-ish
Dry run output:
Actual run output:
Let me know if there's something else I can find for you.
Extra note: I just realized that extra debug output (from the Java classes) was logged. I can pull those out if it'll help.
Thanks for the debug output. That yielded the clue! You are executing an