Accepting request 1082648 from home:david.anes:branches:Java:packages

- Update to 8.0.33:
  - Fix for Bug#34558945, PS using setCharacterStream() fails with 
    "Incorrect string value" if the Java program encoding is not 
    UTF-8 after 8.0.29.
  - Fix for Bug#109013 (Bug#34772608), useServerPrepStmts and 
    useLocalTransactionState could cause rollback failure.
  - Fix for bug Bug#108643 (Bug#34652568), Commit statement not 
    effect when two params turns on.
  - Fix for Bug#34918989, Pluggable classes are initialized even 
    when they cannot be used by Connector/J.
  - Fix for Bug#93415 (Bug#28992710), Documentation for 
    getDefaultSchema() Needs Improvements.
  - Fix for Bug#110168 (Bug#35110706), yum update fails upgrading 
    Connector/J package.
  - Fix for Bug#35018216, Problems with Connector/J RPM's: jar names 
    renamed.
  - Fix for Bug#107577 (Bug#34325361), rewriteBatchedStatements not 
    work when table column name contains 'value' string.
  - Fix for Bug#109377 (Bug#34900156), rewriteBatchedStatements 
    doesn't work when parenthesis are found in values.
  - Fix for Bug#109808 (Bug#35021038), DatabaseMetaData#getPrimaryKeys 
    should ordered by COLUMN_NAME.
  - Fix for Bug#109864 (Bug#35034666), Connector/J 8.0.32 hangs on 
    MySQL 5.5 with prepared statements.
  - Fix for Bug#109807 (Bug#35021014), DatabaseMetaData#getTypeInfo 
    should ordered by DATA_TYPE.
  - Fix for Bug#77368 (Bug#21321849), "LOAD DATA LOCAL INFILE" 
    doesn't work properly with relative paths.
  - Fix for Bug#109243 (Bug#34852047), Judge whether the returned 
    result set of the sql statement is incorrect.

OBS-URL: https://build.opensuse.org/request/show/1082648
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=76
This commit is contained in:
Fridrich Strba 2023-04-25 11:19:58 +00:00 committed by Git OBS Bridge
parent 41ecff373d
commit 9a369092e8
5 changed files with 59 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab47db8f68d5c09edea773f79b466af44dc718927b2faed8302481d2b6d7a797
size 1892439

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0df66f81ab3740c6cd51cccbfcb19063d8e2fbd1bad92d251a77d2eb52380f2c
size 1897758

View File

@ -1,7 +1,7 @@
Index: mysql-connector-j-8.0.29/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
Index: mysql-connector-j-8.0.33/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
===================================================================
--- mysql-connector-j-8.0.29.orig/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
+++ mysql-connector-j-8.0.29/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
--- mysql-connector-j-8.0.33.orig/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
+++ mysql-connector-j-8.0.33/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
@@ -58,7 +58,6 @@ import com.mysql.cj.protocol.a.NativeCon
import com.mysql.cj.protocol.a.authentication.AuthenticationFidoClient;
import com.mysql.cj.protocol.a.authentication.AuthenticationKerberosClient;
@ -10,7 +10,7 @@ Index: mysql-connector-j-8.0.29/src/main/protocol-impl/java/com/mysql/cj/protoco
import com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin;
import com.mysql.cj.protocol.a.authentication.MysqlClearPasswordPlugin;
import com.mysql.cj.protocol.a.authentication.MysqlNativePasswordPlugin;
@@ -256,7 +255,6 @@ public class NativeAuthenticationProvide
@@ -257,7 +256,6 @@ public class NativeAuthenticationProvide
pluginsToInit.add(new MysqlOldPasswordPlugin());
pluginsToInit.add(new AuthenticationLdapSaslClientPlugin());
pluginsToInit.add(new AuthenticationKerberosClient());
@ -18,20 +18,26 @@ Index: mysql-connector-j-8.0.29/src/main/protocol-impl/java/com/mysql/cj/protoco
pluginsToInit.add(new AuthenticationFidoClient());
// plugins from authenticationPluginClasses connection parameter
Index: mysql-connector-j-8.0.29/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
Index: mysql-connector-j-8.0.33/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
===================================================================
--- mysql-connector-j-8.0.29.orig/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
+++ mysql-connector-j-8.0.29/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
@@ -50,12 +50,6 @@ AuthenticationLdapSaslClientPlugin.Missi
--- mysql-connector-j-8.0.33.orig/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
+++ mysql-connector-j-8.0.33/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
@@ -49,18 +49,6 @@ AuthenticationLdapSaslClientPlugin.Missi
AuthenticationLdapSaslClientPlugin.FailCreateSaslClient=Failed creating a SASL client for the authentication mechanism ''{0}''.
AuthenticationLdapSaslClientPlugin.ErrProcessingAuthIter=Error while processing an authentication iteration for the authentication mechanism ''{0}''.
-AuthenticationOciClientPlugin.SdkNotFound=The OCI SDK could not be found or is not installed.
-AuthenticationOciClientPlugin.OciConfigFileError=OCI configuration file could not be read.
-AuthenticationOciClientPlugin.OciConfigFileMissingEntry=OCI configuration file does not contain a ''fingerprint'' or ''key_file'' entry.
-AuthenticationOciClientPlugin.PrivateKeyNotFound=Private key could not be found at location given by OCI configuration entry ''key_file''.
-AuthenticationOciClientPlugin.PrivateKeyNotValid=OCI configuration entry ''key_file'' does not reference a valid key file.
-AuthenticationOciClientPlugin.ConfigFileNotFound=OCI configuration file not found.
-AuthenticationOciClientPlugin.OciSdkNotFound=The OCI SDK cannot be found or it is not installed.
-AuthenticationOciClientPlugin.OciConfigFileError=The OCI configuration file cannot be read.
-AuthenticationOciClientPlugin.ProfileNotFound=The specified profile is not found in the OCI configuration file.
-AuthenticationOciClientPlugin.OciConfigFileMissingEntry=The OCI configuration file does not contain a ''fingerprint'' or ''key_file'' entry.
-AuthenticationOciClientPlugin.PrivateKeyNotFound=The private key cannot be found at the location referenced in the OCI configuration entry ''key_file''.
-AuthenticationOciClientPlugin.FailedReadingPrivateKey=Failed reading the private key file referenced in the OCI configuration entry ''key_file''.
-AuthenticationOciClientPlugin.PrivateKeyNotValid=The OCI configuration entry ''key_file'' does not reference a valid key file.
-AuthenticationOciClientPlugin.SecurityTokenFileNotFound=The security token file cannot be found at the location referenced in the OCI configuration entry ''security_token_file''.
-AuthenticationOciClientPlugin.SecurityTokenTooBig=Invalid security token file. File size above 10 KB.
-AuthenticationOciClientPlugin.FailedReadingSecurityTokenFile=Failed reading the security token file referenced in the OCI configuration entry ''security_token_file''.
-
AuthenticationProvider.BadAuthenticationPlugin=Unable to load authentication plugin ''{0}''.
AuthenticationProvider.BadDefaultAuthenticationPlugin=Improper value "{0}" for property ''defaultAuthenticationPlugin''.
AuthenticationProvider.DefaultAuthenticationPluginIsNotListed=Default authentication plugin "{0}" is neither one of the built-in plugins nor one of the plugins listed in ''authenticationPlugins''.
AuthenticationProvider.BadDisabledAuthenticationPlugin=Can''t disable the default authentication plugin. Either remove "{0}" from the disabled authentication plugins list, or choose a different default authentication plugin.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Tue Apr 25 07:33:23 UTC 2023 - David Anes <david.anes@suse.com>
- Update to 8.0.33:
- Fix for Bug#34558945, PS using setCharacterStream() fails with
"Incorrect string value" if the Java program encoding is not
UTF-8 after 8.0.29.
- Fix for Bug#109013 (Bug#34772608), useServerPrepStmts and
useLocalTransactionState could cause rollback failure.
- Fix for bug Bug#108643 (Bug#34652568), Commit statement not
effect when two params turns on.
- Fix for Bug#34918989, Pluggable classes are initialized even
when they cannot be used by Connector/J.
- Fix for Bug#93415 (Bug#28992710), Documentation for
getDefaultSchema() Needs Improvements.
- Fix for Bug#110168 (Bug#35110706), yum update fails upgrading
Connector/J package.
- Fix for Bug#35018216, Problems with Connector/J RPM's: jar names
renamed.
- Fix for Bug#107577 (Bug#34325361), rewriteBatchedStatements not
work when table column name contains 'value' string.
- Fix for Bug#109377 (Bug#34900156), rewriteBatchedStatements
doesn't work when parenthesis are found in values.
- Fix for Bug#109808 (Bug#35021038), DatabaseMetaData#getPrimaryKeys
should ordered by COLUMN_NAME.
- Fix for Bug#109864 (Bug#35034666), Connector/J 8.0.32 hangs on
MySQL 5.5 with prepared statements.
- Fix for Bug#109807 (Bug#35021014), DatabaseMetaData#getTypeInfo
should ordered by DATA_TYPE.
- Fix for Bug#77368 (Bug#21321849), "LOAD DATA LOCAL INFILE"
doesn't work properly with relative paths.
- Fix for Bug#109243 (Bug#34852047), Judge whether the returned
result set of the sql statement is incorrect.
- WL#15490, Support OCI ephemeral key based authentication.
-------------------------------------------------------------------
Fri Jan 27 16:38:41 UTC 2023 - David Anes <david.anes@suse.com>

View File

@ -19,7 +19,7 @@
%define new_name mysql-connector-j
Name: mysql-connector-java
Version: 8.0.32
Version: 8.0.33
Release: 0
Summary: Official JDBC Driver for MySQL
License: GPL-2.0-or-later