Hello community,
here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2018-11-10 16:47:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old)
and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mysql-connector-java"
Sat Nov 10 16:47:29 2018 rev:30 rq:646511 version:5.1.47
Changes:
--------
--- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2017-10-10 11:39:57.127463212 +0200
+++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2018-11-10 16:47:32.400633023 +0100
@@ -1,0 +2,45 @@
+Mon Nov 5 15:22:11 UTC 2018 - Pedro Monreal Gonzalez
+
+- 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.pcYapG/_old 2018-11-10 16:47:33.040632209 +0100
+++ /var/tmp/diff_new_pack.pcYapG/_new 2018-11-10 16:47:33.044632205 +0100
@@ -1,7 +1,7 @@
#
# spec file for package mysql-connector-java
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,15 +12,15 @@
# 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+
+License: GPL-2.0-or-later
Group: Development/Libraries/Java
Url: http://dev.mysql.com/downloads/connector/j/
Source0: %{name}-%{version}-suse.tar.xz
++++++ 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.pcYapG/_old 2018-11-10 16:47:33.448631692 +0100
+++ /var/tmp/diff_new_pack.pcYapG/_new 2018-11-10 16:47:33.448631692 +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();
}
}