-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DAT-18992] 2025 :: Q1 :: Interop :: MySQL 8.4 on-prem support (#961)
* DAT-18992 adding MySQL 8.4
- Loading branch information
1 parent
a53e907
commit 59eca43
Showing
13 changed files
with
171 additions
and
4 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
26 changes: 26 additions & 0 deletions
26
src/main/resources/liquibase/harness/change/changelogs/mysql/8.4/createFunction.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,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:pro="http://www.liquibase.org/xml/ns/pro" | ||
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-latest.xsd"> | ||
<changeSet author="as" id="1"> | ||
<sql>SET GLOBAL log_bin_trust_function_creators = 1;</sql> | ||
<rollback/> | ||
</changeSet> | ||
<changeSet author="as" id="2"> | ||
<pro:createFunction | ||
encoding="UTF-8" | ||
replaceIfExists="true" | ||
functionName="test_function">CREATE FUNCTION test_function() | ||
RETURNS VARCHAR(20) | ||
BEGIN | ||
RETURN 'Hello'; | ||
END | ||
</pro:createFunction> | ||
<rollback> | ||
<pro:dropFunction functionName="test_function"/> | ||
</rollback> | ||
</changeSet> | ||
</databaseChangeLog> |
24 changes: 24 additions & 0 deletions
24
src/main/resources/liquibase/harness/change/changelogs/mysql/8.4/createPackage.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,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:pro="http://www.liquibase.org/xml/ns/pro" | ||
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-latest.xsd"> | ||
|
||
<changeSet author="as" id="1"> | ||
<sql>SET GLOBAL log_bin_trust_function_creators = 1;</sql> | ||
<rollback/> | ||
</changeSet> | ||
<changeSet author="as" id="2"> | ||
<pro:createPackage encoding="UTF-8" | ||
packageName="Test package">CREATE FUNCTION test_function() | ||
RETURNS VARCHAR(20) | ||
BEGIN | ||
RETURN 'Hello'; | ||
END</pro:createPackage> | ||
<rollback> | ||
<pro:dropFunction functionName="test_function"/> | ||
</rollback> | ||
</changeSet> | ||
</databaseChangeLog> |
24 changes: 24 additions & 0 deletions
24
src/main/resources/liquibase/harness/change/changelogs/mysql/8.4/createPackageBody.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,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:pro="http://www.liquibase.org/xml/ns/pro" | ||
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-latest.xsd"> | ||
|
||
<changeSet author="as" id="1"> | ||
<sql>SET GLOBAL log_bin_trust_function_creators = 1;</sql> | ||
<rollback/> | ||
</changeSet> | ||
<changeSet author="as" id="2"> | ||
<pro:createPackageBody encoding="UTF-8" | ||
packageBodyName="Test package">CREATE FUNCTION test_function() | ||
RETURNS VARCHAR(20) | ||
BEGIN | ||
RETURN 'Hello'; | ||
END</pro:createPackageBody> | ||
<rollback> | ||
<pro:dropFunction functionName="test_function"/> | ||
</rollback> | ||
</changeSet> | ||
</databaseChangeLog> |
28 changes: 28 additions & 0 deletions
28
src/main/resources/liquibase/harness/change/changelogs/mysql/8.4/dropFunction.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 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:pro="http://www.liquibase.org/xml/ns/pro" | ||
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-latest.xsd"> | ||
<changeSet author="as" id="1"> | ||
<sql>SET GLOBAL log_bin_trust_function_creators = 1;</sql> | ||
<rollback/> | ||
</changeSet> | ||
<changeSet author="as" id="2"> | ||
<pro:createFunction | ||
encoding="UTF-8" | ||
replaceIfExists="true" | ||
functionName="test_function">CREATE FUNCTION test_function() | ||
RETURNS VARCHAR(20) | ||
BEGIN | ||
RETURN 'Hello'; | ||
END | ||
</pro:createFunction> | ||
<rollback/> | ||
</changeSet> | ||
<changeSet author="as" id="3"> | ||
<pro:dropFunction functionName="test_function"/> | ||
<rollback/> | ||
</changeSet> | ||
</databaseChangeLog> |
13 changes: 13 additions & 0 deletions
13
src/main/resources/liquibase/harness/change/expectedSnapshot/mysql/8.4/createFunction.json
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,13 @@ | ||
{ | ||
"snapshot": { | ||
"objects": { | ||
"com.datical.liquibase.ext.storedlogic.function.Function": [ | ||
{ | ||
"function": { | ||
"body": "CREATE FUNCTION `test_function`() RETURNS varchar(20) CHARSET utf8mb4\nBEGIN\n RETURN 'Hello';\n END", | ||
"name": "test_function" | ||
} | ||
}] | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/resources/liquibase/harness/change/expectedSnapshot/mysql/8.4/createPackage.json
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,13 @@ | ||
{ | ||
"snapshot": { | ||
"objects": { | ||
"com.datical.liquibase.ext.storedlogic.function.Function": [ | ||
{ | ||
"function": { | ||
"body": "CREATE FUNCTION `test_function`() RETURNS varchar(20) CHARSET utf8mb4\nBEGIN\n RETURN 'Hello';\n END", | ||
"name": "test_function" | ||
} | ||
}] | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...main/resources/liquibase/harness/change/expectedSnapshot/mysql/8.4/createPackageBody.json
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,13 @@ | ||
{ | ||
"snapshot": { | ||
"objects": { | ||
"com.datical.liquibase.ext.storedlogic.function.Function": [ | ||
{ | ||
"function": { | ||
"body": "CREATE FUNCTION `test_function`() RETURNS varchar(20) CHARSET utf8mb4\nBEGIN\n RETURN 'Hello';\n END", | ||
"name": "test_function" | ||
} | ||
}] | ||
} | ||
} | ||
} |
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