Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Leap:15.2 checked in at 2020-02-05 07:26:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/mysql-connector-java (Old) and /work/SRC/openSUSE:Leap:15.2/.mysql-connector-java.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mysql-connector-java" Wed Feb 5 07:26:55 2020 rev:21 rq:763140 version:5.1.47 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/mysql-connector-java/mysql-connector-java.changes 2020-01-15 15:31:49.138792521 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.mysql-connector-java.new.26092/mysql-connector-java.changes 2020-02-05 07:27:05.198687771 +0100 @@ -1,0 +2,51 @@ +Tue Oct 1 09:15:34 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Build against the new compatibility packages log4j12/log4j12-mini +- Clean the spec file by spec-cleaner + +------------------------------------------------------------------- +Mon Nov 5 15:22:11 UTC 2018 - Pedro Monreal Gonzalez <pmonrealgonza...@suse.com> + +- Updated to 5.1.47 + - Bug#28449601, MASTER : UNITTEST FOR BUG#22305979 (TESTBUG22305979) STILL FAILS ON QA SETUP. + - Bug#81063 (23098159), w/ rewriteBatchedStatements, when 2 tables involved, the rewriting not correct. + - Bug#84813 (25501750), rewriteBatchedStatements fails in INSERT. + - Fix for Bug#81196 (23227334), CONNECTOR/J NOT FOLLOWING DATABASE CHARACTER SET. + - Bug#72609 (18749544), SETDATE() NOT USING A PROLEPTIC GREGORIAN CALENDAR. + - Bug#87534 (26730196), UNION ALL query fails when useServerPrepStmts=true + on database connection. Test case only. Base bug fixed in MySQL 5.7.22. + - Bug#89948 (27658489), Batched statements are not committed for useLocalTransactionState=true. + - BUG#80532 (22847443), ENCODING OF RESULTSET.UPDATEROW IS BROKEN FOR NON ASCII CHARCTERS. + - BUG#22305979, WRONG RECORD UPDATED IF SENDFRACTIONALSECONDS=FALSE AND SMT IS SCROLLABLE. + - BUG#90024 (27677574), SOME TESTS FAILED AGAINST MYSQL 8.0.5 BECAUSE OF DEPRECATED FEATURES REMOVAL. + +- Updated to 5.1.46 + - WL#11629, Change caching_sha2_password padding. + - Bug#86741 (26314325), Multi-Host connection with autocommit=0 getAutoCommit maybe wrong. + - Bug#27231383, PROVIDE MAVEN-FRIENDLY COMMERCIAL PACKAGES WITHOUT "-BIN". + - Bug#26819691, SETTING PACKETDEBUGBUFFERSIZE=0 RESULTS IN CONNECTION FAILURE. + - WL#11200, Add caching_sha2_password support. + - Bug#88227 (27029657), Connector/J 5.1.44 cannot be used against MySQL 5.7.20 without warnings. + - Bug#27374581, CONNECTION FAILS WHEN GPL SERVER STARTED WITH TLS-VERSION=TLSV1.2. + - Bug#79612 (22362474), CONNECTION ATTRIBUTES LOST WHEN CONNECTING WITHOUT DEFAULT DATABASE. + +- Updated to 5.1.45 + - Bug#27131768, NULL POINTER EXCEPTION IN CONNECTION. + - Bug#88232 (27047676), c/J does not rollback transaction when autoReconnect=true. + - Bug#88242 (27040063), autoReconnect and socketTimeout JDBC option makes wrong order of client packet. + - Bug#88021 (26939943), High GC pressure when driver configured with serversideprepared statements. + - Bug#26724085, CHARSET MAPPING TO BE UPDATED FOR MYSQL 8.0.3. + - Bug#26794652, TEST FAILING DUE TO BINARY LOGGING ENABLED BY DEFAULT IN MYSQL 8.0.3. + - Bug#26794602, TESTS FAILING DUE TO CHANGE IN INFORMATION_SCHEMA.INNODB_SYS_* NAMING. + - Bug#87704 (26771560), THE STREAM GETS THE RESULT SET ?THE DRIVER SIDE GET WRONG ABOUT GETLONG(). + +- Updated to 5.1.44 + - Bug#87429 (26633984), repeated close of ServerPreparedStatement causes memory leak. + - Bug#87379 (26646676), Perform actual TLS capabilities check when restricting TLSv1.2. + - Bug#85601 (25777822), Unit notation is missing in the description of the property involved in the time. + - Bug#87153 (26501245), INCORRECT RESULT OF DBMD.GETVERSIONCOLUMNS() AGAINST MYSQL 8.0.2+. + - Bug#26440544, CONNECTOR/J SHOULD NOT USE TX_{READ_ONLY,ISOLATION} WHICH IS PLANNED FOR REMOVAL. + +- Rebased patch mysql-connector-java-jdbc-4.1.patch + +------------------------------------------------------------------- Old: ---- mysql-connector-java-5.1.43-suse.tar.xz New: ---- mysql-connector-java-5.1.47-suse.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mysql-connector-java.spec ++++++ --- /var/tmp/diff_new_pack.9zmesv/_old 2020-02-05 07:27:05.642687958 +0100 +++ /var/tmp/diff_new_pack.9zmesv/_new 2020-02-05 07:27:05.646687959 +0100 @@ -1,7 +1,7 @@ # # spec file for package mysql-connector-java # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,17 +12,16 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: mysql-connector-java -Version: 5.1.43 +Version: 5.1.47 Release: 0 Summary: Official JDBC Driver for MySQL -License: GPL-2.0+ -Group: Development/Libraries/Java -Url: http://dev.mysql.com/downloads/connector/j/ +License: GPL-2.0-or-later +URL: https://dev.mysql.com/downloads/connector/j/ Source0: %{name}-%{version}-suse.tar.xz # Script to repack upstream tarball # ./generate-tarball.sh VERSION @@ -41,11 +40,11 @@ BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: junit -BuildRequires: log4j-mini +BuildRequires: log4j12-mini BuildRequires: slf4j BuildRequires: xz Requires: jta >= 1.0 -Requires: log4j +Requires: log4j12 Requires: slf4j Provides: mm.mysql = %{version} Obsoletes: mm.mysql < %{version} @@ -101,8 +100,8 @@ jdbc-stdext\ jta \ junit \ - log4j) -ant \ + log4j12/log4j-12) +%{ant} \ -Dcom.mysql.jdbc.jdk5.javac=%javac \ -Dcom.mysql.jdbc.jdk8.javac=%javac \ -Dsnapshot.version= \ @@ -127,14 +126,8 @@ %add_maven_depmap JPP-%{name}.pom %{name}.jar -%files -%doc CHANGES COPYING README.txt -%attr(0644,root,root) %{_javadir}/%{name}.jar -%if %{defined _maven_repository} -%config(noreplace) %{_mavendepmapfragdir}/* -%else -%config(noreplace) %{_datadir}/maven-metadata/%{name}.xml* -%endif -%{_mavenpomdir}/*.pom +%files -f .mfiles +%license COPYING +%doc CHANGES README.txt %changelog ++++++ mysql-connector-java-5.1.43-suse.tar.xz -> mysql-connector-java-5.1.47-suse.tar.xz ++++++ ++++ 6635 lines of diff (skipped) ++++++ mysql-connector-java-jdbc-4.1.patch ++++++ --- /var/tmp/diff_new_pack.9zmesv/_old 2020-02-05 07:27:06.042688127 +0100 +++ /var/tmp/diff_new_pack.9zmesv/_new 2020-02-05 07:27:06.042688127 +0100 @@ -23,11 +23,13 @@ .../jdbc2/optional/SuspendableXAConnection.java | 8 + 17 files changed, 822 insertions(+), 2 deletions(-) ---- a/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java -+++ b/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java -@@ -3065,4 +3065,36 @@ - - public void decachePreparedStatement(ServerPreparedStatement pstmt) throws SQLException { +Index: mysql-connector-java-5.1.47/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java ++++ mysql-connector-java-5.1.47/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java +@@ -3069,4 +3069,36 @@ public class FabricMySQLConnectionProxy + public boolean isServerTruncatesFracSecs() { + return getActiveMySQLConnection().isServerTruncatesFracSecs(); } + + public java.sql.Clob createClob() throws SQLException { @@ -62,9 +64,11 @@ + throw new UnsupportedOperationException(); + } } ---- a/src/com/mysql/fabric/jdbc/FabricMySQLDriver.java -+++ b/src/com/mysql/fabric/jdbc/FabricMySQLDriver.java -@@ -103,7 +103,7 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/fabric/jdbc/FabricMySQLDriver.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/fabric/jdbc/FabricMySQLDriver.java ++++ mysql-connector-java-5.1.47/src/com/mysql/fabric/jdbc/FabricMySQLDriver.java +@@ -103,7 +103,7 @@ public class FabricMySQLDriver extends N return super.parseURL(url.replaceAll("fabric:", ""), defaults); } @@ -74,9 +78,11 @@ + throw new java.sql.SQLFeatureNotSupportedException("no logging"); } } ---- a/src/com/mysql/jdbc/CallableStatement.java -+++ b/src/com/mysql/jdbc/CallableStatement.java -@@ -2396,6 +2396,90 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/CallableStatement.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/CallableStatement.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/CallableStatement.java +@@ -2396,6 +2396,90 @@ public class CallableStatement extends P } } @@ -167,9 +173,11 @@ /** * JDBC 4.2 */ ---- a/src/com/mysql/jdbc/ConnectionImpl.java -+++ b/src/com/mysql/jdbc/ConnectionImpl.java -@@ -5507,4 +5507,56 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/ConnectionImpl.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/ConnectionImpl.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/ConnectionImpl.java +@@ -5544,4 +5544,56 @@ public class ConnectionImpl extends Conn } } } @@ -226,9 +234,11 @@ + throw new UnsupportedOperationException(); + } } ---- a/src/com/mysql/jdbc/DatabaseMetaData.java -+++ b/src/com/mysql/jdbc/DatabaseMetaData.java -@@ -7878,6 +7878,22 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/DatabaseMetaData.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/DatabaseMetaData.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/DatabaseMetaData.java +@@ -7878,6 +7878,22 @@ public class DatabaseMetaData implements return pStmt; } @@ -251,11 +261,13 @@ /** * JDBC-4.1 * ---- a/src/com/mysql/jdbc/MultiHostMySQLConnection.java -+++ b/src/com/mysql/jdbc/MultiHostMySQLConnection.java -@@ -2482,4 +2482,56 @@ - public boolean isUseSSLExplicit() { - return getActiveMySQLConnection().isUseSSLExplicit(); +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/MultiHostMySQLConnection.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/MultiHostMySQLConnection.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/MultiHostMySQLConnection.java +@@ -2502,4 +2502,56 @@ public class MultiHostMySQLConnection im + public boolean isServerTruncatesFracSecs() { + return getActiveMySQLConnection().isServerTruncatesFracSecs(); } + + public java.sql.Clob createClob() throws SQLException { @@ -310,9 +322,11 @@ + throw new UnsupportedOperationException(); + } } ---- a/src/com/mysql/jdbc/NonRegisteringDriver.java -+++ b/src/com/mysql/jdbc/NonRegisteringDriver.java -@@ -908,4 +908,9 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/NonRegisteringDriver.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/NonRegisteringDriver.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/NonRegisteringDriver.java +@@ -908,4 +908,9 @@ public class NonRegisteringDriver implem } } } @@ -322,9 +336,11 @@ + throw new java.sql.SQLFeatureNotSupportedException(); + } } ---- a/src/com/mysql/jdbc/PreparedStatement.java -+++ b/src/com/mysql/jdbc/PreparedStatement.java -@@ -5096,6 +5096,18 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/PreparedStatement.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/PreparedStatement.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/PreparedStatement.java +@@ -5150,6 +5150,18 @@ public class PreparedStatement extends c && StringUtils.indexOfIgnoreCase(statementStartPos, sql, "SELECT", "\"'`", "\"'`", StringUtils.SEARCH_MODE__MRK_COM_WS) == -1; } @@ -343,9 +359,11 @@ /** * JDBC 4.2 * Same as PreparedStatement.executeUpdate() but returns long instead of int. ---- a/src/com/mysql/jdbc/ResultSetImpl.java -+++ b/src/com/mysql/jdbc/ResultSetImpl.java -@@ -7890,4 +7890,200 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/ResultSetImpl.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/ResultSetImpl.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/ResultSetImpl.java +@@ -7894,4 +7894,200 @@ public class ResultSetImpl implements Re protected ExceptionInterceptor getExceptionInterceptor() { return this.exceptionInterceptor; } @@ -546,9 +564,11 @@ + throw new UnsupportedOperationException(); + } } ---- a/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java -+++ b/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java -@@ -1498,6 +1498,142 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java +@@ -1498,6 +1498,142 @@ public class CallableStatementWrapper ex return null; } @@ -691,9 +711,11 @@ // // public Reader getCharacterStream(int parameterIndex) throws SQLException { // try { ---- a/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java -+++ b/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java -@@ -2885,4 +2885,56 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java +@@ -2901,4 +2901,56 @@ public class ConnectionWrapper extends W public boolean isUseSSLExplicit() { return this.mc.isUseSSLExplicit(); } @@ -750,13 +772,14 @@ + throw new UnsupportedOperationException(); + } } ---- a/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java -+++ b/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java -@@ -435,4 +435,16 @@ - // public <T> T unwrap(Class<T> iface) throws SQLException { +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java +@@ -436,6 +436,18 @@ public class MysqlDataSource extends Con // throw SQLError.createSQLFeatureNotSupportedException(); // } -+ + + public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException { + throw new java.sql.SQLFeatureNotSupportedException(); + } @@ -768,10 +791,15 @@ + public boolean isWrapperFor(Class<?> iface) throws SQLException { + throw new UnsupportedOperationException(); + } - } ---- a/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java -+++ b/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java -@@ -33,6 +33,7 @@ ++ + @Override + public Properties exposeAsProperties(Properties props) throws SQLException { + return exposeAsProperties(props, true); +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java +@@ -33,6 +33,7 @@ import java.util.Map; import javax.sql.ConnectionEvent; import javax.sql.ConnectionEventListener; import javax.sql.PooledConnection; @@ -779,7 +807,7 @@ import com.mysql.jdbc.ExceptionInterceptor; import com.mysql.jdbc.SQLError; -@@ -230,4 +231,14 @@ +@@ -230,4 +231,14 @@ public class MysqlPooledConnection imple protected ExceptionInterceptor getExceptionInterceptor() { return this.exceptionInterceptor; } @@ -795,9 +823,11 @@ + } } \ No newline at end of file ---- a/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java -+++ b/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java -@@ -567,6 +567,78 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java +@@ -567,6 +567,78 @@ public class PreparedStatementWrapper ex return buf.toString(); } @@ -876,9 +906,11 @@ // // public void setAsciiStream(int parameterIndex, InputStream x) // throws SQLException { ---- a/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java -+++ b/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java -@@ -581,6 +581,34 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java +@@ -581,6 +581,34 @@ public class StatementWrapper extends Wr } } @@ -913,9 +945,11 @@ /** * JDBC 4.2 * Same as {@link #executeBatch()} but returns long[] instead of int[]. ---- a/src/com/mysql/jdbc/jdbc2/optional/SuspendableXAConnection.java -+++ b/src/com/mysql/jdbc/jdbc2/optional/SuspendableXAConnection.java -@@ -199,4 +199,12 @@ +Index: mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/SuspendableXAConnection.java +=================================================================== +--- mysql-connector-java-5.1.47.orig/src/com/mysql/jdbc/jdbc2/optional/SuspendableXAConnection.java ++++ mysql-connector-java-5.1.47/src/com/mysql/jdbc/jdbc2/optional/SuspendableXAConnection.java +@@ -199,4 +199,12 @@ public class SuspendableXAConnection ext this.currentXAConnection.close(); } }