mysql-connector-java/mysql-connector-java-remove-oci-support.patch
Fridrich Strba 9a369092e8 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
2023-04-25 11:19:58 +00:00

44 lines
4.0 KiB
Diff

Index: mysql-connector-j-8.0.33/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;
import com.mysql.cj.protocol.a.authentication.AuthenticationLdapSaslClientPlugin;
-import com.mysql.cj.protocol.a.authentication.AuthenticationOciClient;
import com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin;
import com.mysql.cj.protocol.a.authentication.MysqlClearPasswordPlugin;
import com.mysql.cj.protocol.a.authentication.MysqlNativePasswordPlugin;
@@ -257,7 +256,6 @@ public class NativeAuthenticationProvide
pluginsToInit.add(new MysqlOldPasswordPlugin());
pluginsToInit.add(new AuthenticationLdapSaslClientPlugin());
pluginsToInit.add(new AuthenticationKerberosClient());
- pluginsToInit.add(new AuthenticationOciClient());
pluginsToInit.add(new AuthenticationFidoClient());
// plugins from authenticationPluginClasses connection parameter
Index: mysql-connector-j-8.0.33/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
===================================================================
--- 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.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.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.