From ceef1d97bc4641881c1ff50193fa65dddc3f0e02 Mon Sep 17 00:00:00 2001 From: Zuzana Miklankova Date: Tue, 18 Jan 2022 15:13:55 +0100 Subject: [PATCH] Rebase to version 8.0.28 --- .gitignore | 1 + mysql-connector-java.spec | 5 ++++- remove-StatementsTest.patch | 31 +++++++++++++++--------------- remove-authentication-plugin.patch | 29 ++++++++++++++-------------- remove-coverage-test.patch | 28 ++++++++++++++------------- sources | 2 +- 6 files changed, 52 insertions(+), 44 deletions(-) diff --git a/.gitignore b/.gitignore index f9f8dc4..d1526d0 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /mysql-connector-java-8.0.25-nojars.tar.xz /mysql-connector-java-8.0.26-nojars.tar.xz /mysql-connector-java-8.0.27-nojars.tar.xz +/mysql-connector-java-8.0.28-nojars.tar.xz diff --git a/mysql-connector-java.spec b/mysql-connector-java.spec index ebf5dba..ecd997f 100644 --- a/mysql-connector-java.spec +++ b/mysql-connector-java.spec @@ -1,7 +1,7 @@ Summary: Official JDBC driver for MySQL Name: mysql-connector-java -Version: 8.0.27 +Version: 8.0.28 Release: 1%{?dist} Epoch: 1 License: GPLv2 with exceptions @@ -106,6 +106,9 @@ ant -Dcom.mysql.cj.build.jdk=/usr/lib/jvm/java-11-openjdk \ %license LICENSE %changelog +* Tue Jan 18 2022 Zuzana Miklankova - 1:8.0.28-1 +- rebase to version 8.0.28 + * Tue Oct 19 2021 Zuzana Miklankova - 1:8.0.27-1 - rebase to version 8.0.27 diff --git a/remove-StatementsTest.patch b/remove-StatementsTest.patch index 17fb1e2..4f5c65f 100644 --- a/remove-StatementsTest.patch +++ b/remove-StatementsTest.patch @@ -1,17 +1,17 @@ -From b113bc5ed38da669a0cf2b88bf35905218b01cfd Mon Sep 17 00:00:00 2001 +From b9a7a929f547d1408c42aca31603d52518f6296b Mon Sep 17 00:00:00 2001 From: Zuzana Miklankova -Date: Tue, 19 Oct 2021 15:31:36 +0200 -Subject: [PATCH] removing StatementsTest because of missing dependencies +Date: Tue, 18 Jan 2022 15:04:09 +0100 +Subject: [PATCH] patch --- - .../regression/StatementRegressionTest.java | 51 ------------------- - 1 file changed, 51 deletions(-) + .../regression/StatementRegressionTest.java | 50 ------------------- + 1 file changed, 50 deletions(-) diff --git a/src/test/java/testsuite/regression/StatementRegressionTest.java b/src/test/java/testsuite/regression/StatementRegressionTest.java -index 5845c71e..f68fd9dd 100644 +index b5c53e9a..89483a07 100644 --- a/src/test/java/testsuite/regression/StatementRegressionTest.java +++ b/src/test/java/testsuite/regression/StatementRegressionTest.java -@@ -151,7 +151,6 @@ import com.mysql.cj.util.TimeUtil; +@@ -154,7 +154,6 @@ import com.mysql.cj.util.TimeUtil; import testsuite.BaseQueryInterceptor; import testsuite.BaseTestCase; import testsuite.UnreliableSocketFactory; @@ -19,7 +19,7 @@ index 5845c71e..f68fd9dd 100644 /** * Regression tests for the Statement class -@@ -11599,21 +11598,6 @@ public class StatementRegressionTest extends BaseTestCase { +@@ -11602,20 +11601,6 @@ public class StatementRegressionTest extends BaseTestCase { } } @@ -37,15 +37,13 @@ index 5845c71e..f68fd9dd 100644 - return null; - }); - } -- + /** * Tests fix for Bug#71929 (18346501), Prefixing query with double comments cancels query DML validation. - * -@@ -11639,39 +11623,4 @@ public class StatementRegressionTest extends BaseTestCase { - }); +@@ -11643,41 +11628,6 @@ public class StatementRegressionTest extends BaseTestCase { } } -- + - /** - * Test fix for Bug#103612 (32902019), Incorrectly identified WITH...SELECT as unsafe for read-only connections. - * @@ -80,7 +78,10 @@ index 5845c71e..f68fd9dd 100644 - testConn.close(); - } while ((useSPS = !useSPS) || (readOnly = !readOnly)); - } - } +- + /** + * Tests fix for Bug#101389 (32089018), GETWARNINGS SHOULD CHECK WARNING COUNT BEFORE SENDING SHOW. + * -- -2.31.1 +2.34.1 diff --git a/remove-authentication-plugin.patch b/remove-authentication-plugin.patch index 61aa455..d2ee0a2 100644 --- a/remove-authentication-plugin.patch +++ b/remove-authentication-plugin.patch @@ -1,8 +1,8 @@ -From 74cb8dc7c3100f5dddfe640519488dc8e2a49bd1 Mon Sep 17 00:00:00 2001 +From 47793b89300a19c5fd13b781f03dd580fc0186a6 Mon Sep 17 00:00:00 2001 From: Ondrej Dubaj -Date: Tue, 19 Oct 2021 14:35:41 +0200 -Subject: [PATCH] remove AuthenticationOciClient plugin due to missing oracle - dependency +Date: Tue, 18 Jan 2022 14:58:57 +0100 +Subject: [PATCH] remove AuthenticationOciClient plugin due to missing + oracle dependency --- .../a/NativeAuthenticationProvider.java | 2 - @@ -12,18 +12,18 @@ Subject: [PATCH] remove AuthenticationOciClient plugin due to missing oracle delete mode 100644 src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationOciClient.java diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java -index b53ea98..c1f1a41 100644 +index e1b59182..44bc5290 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java -@@ -55,7 +55,6 @@ import com.mysql.cj.protocol.ServerSession; - import com.mysql.cj.protocol.a.NativeConstants.IntegerDataType; - import com.mysql.cj.protocol.a.NativeConstants.StringLengthDataType; +@@ -57,7 +57,6 @@ import com.mysql.cj.protocol.a.NativeConstants.StringLengthDataType; import com.mysql.cj.protocol.a.NativeConstants.StringSelfDataType; --import com.mysql.cj.protocol.a.authentication.AuthenticationOciClient; import com.mysql.cj.protocol.a.authentication.AuthenticationKerberosClient; import com.mysql.cj.protocol.a.authentication.AuthenticationLdapSaslClientPlugin; +-import com.mysql.cj.protocol.a.authentication.AuthenticationOciClient; import com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin; -@@ -254,7 +253,6 @@ public class NativeAuthenticationProvider implements AuthenticationProvider -Date: Tue, 11 May 2021 09:45:27 +0200 +Date: Tue, 18 Jan 2022 14:51:24 +0100 Subject: [PATCH] Remove coverage test --- - build.xml | 157 ------------------------------------------------------ - 1 file changed, 157 deletions(-) + build.xml | 159 ------------------------------------------------------ + 1 file changed, 159 deletions(-) diff --git a/build.xml b/build.xml -index a7d82b62..bd0355b4 100644 +index c65df525..cc39d88d 100644 --- a/build.xml +++ b/build.xml -@@ -1285,76 +1285,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o +@@ -1285,79 +1285,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o ${com.mysql.cj.testsuite.message.test.mode} @@ -32,6 +32,9 @@ index a7d82b62..bd0355b4 100644 - - - +- +- +- - - - @@ -44,7 +47,7 @@ index a7d82b62..bd0355b4 100644 - - - -- +- - - - @@ -58,7 +61,7 @@ index a7d82b62..bd0355b4 100644 - - - -- +- - - - @@ -73,7 +76,7 @@ index a7d82b62..bd0355b4 100644 - - - -- +- - - - @@ -88,7 +91,7 @@ index a7d82b62..bd0355b4 100644 -@@ -1367,93 +1297,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o +@@ -1370,92 +1297,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o @@ -178,10 +181,9 @@ index a7d82b62..bd0355b4 100644 - - - -- + - -- -2.31.1 +2.34.1 diff --git a/sources b/sources index 9e45284..bb74e5d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mysql-connector-java-8.0.27-nojars.tar.xz) = db07ad394a1558123fd3e6b353685e804b0863dc412bfba2375666aa9ccc44e023888b043e836a6dffcef237ce212fa55ddc3738373243bd0ef03e4c4713efe7 +SHA512 (mysql-connector-java-8.0.28-nojars.tar.xz) = 5b8c66b28463849334a03679866914fc2b9c7d5e3c01308f9467e9b5d3fcbc934b3cdb4b46b611ab60d5ea2cda77c7458840773d56d1fb5d0cf7d2b37653de6c