Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip change sets that don't match on DBMS during change log parsing
Closes: CORE-3180
- Loading branch information
Showing
5 changed files
with
79 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
liquibase-core/src/test/resources/liquibase/parser/core/xml/rollbackWithDbmsChangeLog.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd"> | ||
|
||
<changeSet id="1" author="mches" dbms="mssql"> | ||
<createTable tableName="a"> | ||
<column name="b" type="int"/> | ||
</createTable> | ||
</changeSet> | ||
|
||
<changeSet id="2" author="mches" dbms="mssql"> | ||
<dropTable tableName="a"/> | ||
<rollback changeSetId="1" changeSetAuthor="mches"/> | ||
</changeSet> | ||
|
||
<changeSet id="3" author="mches"> | ||
<createTable tableName="c"> | ||
<column name="d" type="bigint"/> | ||
</createTable> | ||
</changeSet> | ||
|
||
<changeSet id="4" author="mches"> | ||
<dropTable tableName="c"/> | ||
<rollback changeSetId="3" changeSetAuthor="mches"/> | ||
</changeSet> | ||
|
||
</databaseChangeLog> |