Multi Line incompatibility between versions 3 and 4
See original GitHub issueI am trying to migrate from version 3 to version 4 and hitting a difference in how multiline is handled - what used to be properly split into two statements in version 3 is no longer split into two statements in version 4
I was able to isolate the difference in behavior to different handling of
StringUtils.processMutliLineSQL( "ALTER TABLE/\nCREATE INDEX/", false, true, "/")
which seems to be caused by https://github.com/liquibase/liquibase/commit/0c7c94529cb98e42e13a993e405e35c191759979 commit - especially the new special handling of “/” in if ("/".equals(endDelimiter)) {
unfortunately that commit comment does not provide any details on the reason on the change, it looks like branch merge but I am unable to find corresponding change in 3.8 branch
Question: is there any documentation on the change to multiline handling? Any migration manual material to cover the change in multi line handling?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
our tests pass with 4.9.0 thank you!
I used the following quite minimal changeLog:
and tried different delimiters (
;
,/
andGO
) as well as differentendDelimiter
configurations. Except for the above case I never saw a different result from 3.10.