2017-05-18 14:08:48 +02:00
|
|
|
From 3186d1ff965c608171d34903d6c0b8c91a866c43 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Emmanuel Bourg <ebourg@apache.org>
|
|
|
|
Date: Tue, 27 Oct 2015 11:35:57 +0100
|
|
|
|
Subject: [PATCH] Java 8 compatibility
|
|
|
|
|
|
|
|
---
|
|
|
|
.../fabric/jdbc/FabricMySQLConnectionProxy.java | 32 ++++
|
|
|
|
src/com/mysql/fabric/jdbc/FabricMySQLDriver.java | 4 +-
|
|
|
|
src/com/mysql/jdbc/CallableStatement.java | 84 +++++++++
|
|
|
|
src/com/mysql/jdbc/ConnectionImpl.java | 52 ++++++
|
|
|
|
src/com/mysql/jdbc/DatabaseMetaData.java | 16 ++
|
|
|
|
src/com/mysql/jdbc/MultiHostMySQLConnection.java | 52 ++++++
|
|
|
|
src/com/mysql/jdbc/NonRegisteringDriver.java | 5 +
|
|
|
|
src/com/mysql/jdbc/PreparedStatement.java | 12 ++
|
|
|
|
src/com/mysql/jdbc/ReplicationConnection.java | 52 ++++++
|
|
|
|
src/com/mysql/jdbc/ResultSetImpl.java | 196 +++++++++++++++++++++
|
|
|
|
.../jdbc2/optional/CallableStatementWrapper.java | 136 ++++++++++++++
|
|
|
|
.../jdbc/jdbc2/optional/ConnectionWrapper.java | 52 ++++++
|
|
|
|
.../mysql/jdbc/jdbc2/optional/MysqlDataSource.java | 12 ++
|
|
|
|
.../jdbc/jdbc2/optional/MysqlPooledConnection.java | 11 ++
|
|
|
|
.../jdbc2/optional/PreparedStatementWrapper.java | 72 ++++++++
|
|
|
|
.../jdbc/jdbc2/optional/StatementWrapper.java | 28 +++
|
|
|
|
.../jdbc2/optional/SuspendableXAConnection.java | 8 +
|
|
|
|
17 files changed, 822 insertions(+), 2 deletions(-)
|
|
|
|
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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();
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Clob createClob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.Blob createBlob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.NClob createNClob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.SQLXML createSQLXML() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setClientInfo(String name, String value) throws java.sql.SQLClientInfoException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setClientInfo(Properties properties) throws java.sql.SQLClientInfoException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2013-09-19 16:22:42 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Struct createStruct(String typeName, Object[] attributes) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2013-09-19 16:22:42 +02:00
|
|
|
}
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2017-05-18 14:08:48 +02:00
|
|
|
return super.parseURL(url.replaceAll("fabric:", ""), defaults);
|
|
|
|
}
|
|
|
|
|
|
|
|
- public Logger getParentLogger() throws SQLException {
|
|
|
|
- throw new SQLException("no logging");
|
|
|
|
+ public Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException {
|
|
|
|
+ throw new java.sql.SQLFeatureNotSupportedException("no logging");
|
|
|
|
}
|
|
|
|
}
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2017-05-18 13:05:10 +02:00
|
|
|
}
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
2017-05-18 14:08:48 +02:00
|
|
|
|
|
|
|
+ public java.sql.RowId getRowId(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.RowId getRowId(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setRowId(String parameterName, java.sql.RowId x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setNString(String parameterName, String value) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setNClob(String parameterName, java.sql.NClob value) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setNClob(String parameterName, Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.NClob getNClob(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2013-09-19 16:22:42 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.NClob getNClob(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2013-09-19 16:22:42 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setSQLXML(String parameterName, java.sql.SQLXML xmlObject) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.SQLXML getSQLXML(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.SQLXML getSQLXML(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getNString(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getNString(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Reader getNCharacterStream(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Reader getNCharacterStream(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Reader getCharacterStream(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Reader getCharacterStream(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setNClob(String parameterName, Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setRowId(int parameterIndex, java.sql.RowId x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setNClob(int parameterIndex, java.sql.NClob value) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-06-11 17:13:13 +02:00
|
|
|
+
|
2015-04-21 19:01:55 +02:00
|
|
|
/**
|
2017-05-18 14:08:48 +02:00
|
|
|
* JDBC 4.2
|
2015-04-21 19:01:55 +02:00
|
|
|
*/
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2017-05-18 14:08:48 +02:00
|
|
|
}
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Clob createClob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Blob createBlob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.NClob createNClob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.SQLXML createSQLXML() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public boolean isValid(int timeout) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setClientInfo(String name, String value) throws java.sql.SQLClientInfoException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setClientInfo(Properties properties) throws java.sql.SQLClientInfoException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getClientInfo(String name) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Properties getClientInfo() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Struct createStruct(String typeName, Object[] attributes) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public <T> T unwrap(Class<T> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2017-05-18 14:08:48 +02:00
|
|
|
return pStmt;
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
|
|
|
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.RowIdLifetime getRowIdLifetime() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public boolean autoCommitFailureClosesAllResultSets() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public <T> T unwrap(Class<T> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
2015-04-21 19:01:55 +02:00
|
|
|
/**
|
2017-05-18 14:08:48 +02:00
|
|
|
* JDBC-4.1
|
|
|
|
*
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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();
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Clob createClob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Blob createBlob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.NClob createNClob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.SQLXML createSQLXML() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public boolean isValid(int timeout) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setClientInfo(String name, String value) throws java.sql.SQLClientInfoException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setClientInfo(Properties properties) throws java.sql.SQLClientInfoException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getClientInfo(String name) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Properties getClientInfo() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.Struct createStruct(String typeName, Object[] attributes) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public <T> T unwrap(Class<T> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
}
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ @Override
|
|
|
|
+ public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException {
|
|
|
|
+ throw new java.sql.SQLFeatureNotSupportedException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2017-05-18 14:08:48 +02:00
|
|
|
&& StringUtils.indexOfIgnoreCase(statementStartPos, sql, "SELECT", "\"'`", "\"'`", StringUtils.SEARCH_MODE__MRK_COM_WS) == -1;
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
2017-05-18 14:08:48 +02:00
|
|
|
|
|
|
|
+ public void setRowId(int parameterIndex, java.sql.RowId x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setNClob(int parameterIndex, java.sql.NClob value) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
/**
|
|
|
|
* JDBC 4.2
|
|
|
|
* Same as PreparedStatement.executeUpdate() but returns long instead of int.
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2015-04-21 19:01:55 +02:00
|
|
|
protected ExceptionInterceptor getExceptionInterceptor() {
|
|
|
|
return this.exceptionInterceptor;
|
|
|
|
}
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.RowId getRowId(int columnIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.RowId getRowId(String columnLabel) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateRowId(int columnIndex, java.sql.RowId x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateRowId(String columnLabel, java.sql.RowId x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public int getHoldability() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNString(int columnIndex, String nString) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNString(String columnLabel, String nString) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNClob(int columnIndex, java.sql.NClob nClob) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNClob(String columnLabel, java.sql.NClob nClob) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.NClob getNClob(int columnIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.NClob getNClob(String columnLabel) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.SQLXML getSQLXML(int columnIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.SQLXML getSQLXML(String columnLabel) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateSQLXML(String columnLabel, java.sql.SQLXML xmlObject) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getNString(int columnIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getNString(String columnLabel) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.io.Reader getNCharacterStream(int columnIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.io.Reader getNCharacterStream(String columnLabel) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateClob(int columnIndex, java.io.Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateClob(String columnLabel, java.io.Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNClob(String columnLabel, java.io.Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateCharacterStream(int columnIndex, java.io.Reader x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateClob(int columnIndex, java.io.Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateClob(String columnLabel, java.io.Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNClob(int columnIndex, java.io.Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateNClob(String columnLabel, java.io.Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2013-09-19 16:22:42 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public <T> T unwrap(Class<T> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2013-09-19 16:22:42 +02:00
|
|
|
}
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2013-09-19 16:22:42 +02:00
|
|
|
|
2017-05-18 14:08:48 +02:00
|
|
|
return null;
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
2017-05-18 14:08:48 +02:00
|
|
|
+
|
|
|
|
+ public java.sql.RowId getRowId(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.RowId getRowId(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setRowId(String parameterName, java.sql.RowId x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setNString(String parameterName, String value) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setNClob(String parameterName, java.sql.NClob value) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setClob(String parameterName, Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setNClob(String parameterName, Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.NClob getNClob(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.NClob getNClob(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setSQLXML(String parameterName, java.sql.SQLXML xmlObject) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.SQLXML getSQLXML(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.sql.SQLXML getSQLXML(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getNString(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getNString(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Reader getNCharacterStream(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Reader getNCharacterStream(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Reader getCharacterStream(int parameterIndex) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Reader getCharacterStream(String parameterName) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setBlob(String parameterName, Blob x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setClob(String parameterName, Clob x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setAsciiStream(String parameterName, InputStream x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setBinaryStream(String parameterName, InputStream x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCharacterStream(String parameterName, Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setNCharacterStream(String parameterName, Reader value) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setClob(String parameterName, Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setBlob(String parameterName, InputStream inputStream) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setNClob(String parameterName, Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public <T> T getObject(int parameterIndex, Class<T> type) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public <T> T getObject(String parameterName, Class<T> type) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
//
|
|
|
|
// public Reader getCharacterStream(int parameterIndex) throws SQLException {
|
|
|
|
// try {
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2017-05-18 13:05:10 +02:00
|
|
|
public boolean isUseSSLExplicit() {
|
|
|
|
return this.mc.isUseSSLExplicit();
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Clob createClob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Blob createBlob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.NClob createNClob() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.SQLXML createSQLXML() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
2017-05-18 14:08:48 +02:00
|
|
|
+
|
|
|
|
+ public boolean isValid(int timeout) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setClientInfo(String name, String value) throws java.sql.SQLClientInfoException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setClientInfo(Properties properties) throws java.sql.SQLClientInfoException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public String getClientInfo(String name) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public Properties getClientInfo() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-22 10:36:00 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.sql.Struct createStruct(String typeName, Object[] attributes) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public <T> T unwrap(Class<T> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
2015-04-21 19:01:55 +02:00
|
|
|
+ }
|
|
|
|
}
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2017-05-18 13:05:10 +02:00
|
|
|
// throw SQLError.createSQLFeatureNotSupportedException();
|
2015-04-21 19:01:55 +02:00
|
|
|
// }
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException {
|
|
|
|
+ throw new java.sql.SQLFeatureNotSupportedException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public <T> T unwrap(Class<T> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-22 10:36:00 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
+
|
|
|
|
@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;
|
2015-04-21 19:01:55 +02:00
|
|
|
import javax.sql.ConnectionEvent;
|
|
|
|
import javax.sql.ConnectionEventListener;
|
|
|
|
import javax.sql.PooledConnection;
|
|
|
|
+import javax.sql.StatementEventListener;
|
|
|
|
|
|
|
|
import com.mysql.jdbc.ExceptionInterceptor;
|
|
|
|
import com.mysql.jdbc.SQLError;
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
@@ -230,4 +231,14 @@ public class MysqlPooledConnection imple
|
2015-04-21 19:01:55 +02:00
|
|
|
protected ExceptionInterceptor getExceptionInterceptor() {
|
|
|
|
return this.exceptionInterceptor;
|
|
|
|
}
|
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ @Override
|
|
|
|
+ public void addStatementEventListener(javax.sql.StatementEventListener listener) {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2017-05-18 13:51:00 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ @Override
|
|
|
|
+ public void removeStatementEventListener(javax.sql.StatementEventListener listener) {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2017-05-18 13:51:00 +02:00
|
|
|
}
|
2017-05-18 14:08:48 +02:00
|
|
|
\ No newline at end of file
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2017-05-18 14:08:48 +02:00
|
|
|
return buf.toString();
|
2015-04-21 19:01:55 +02:00
|
|
|
}
|
2017-05-18 14:08:48 +02:00
|
|
|
|
|
|
|
+ public void setRowId(int parameterIndex, java.sql.RowId x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setNString(int parameterIndex, String value) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2013-09-19 16:22:42 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-21 19:01:55 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setNClob(int parameterIndex, java.sql.NClob value) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-22 10:36:00 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setClob(int parameterIndex, Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2015-04-22 10:36:00 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setClob(int parameterIndex, Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setNClob(int parameterIndex, Reader reader) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
//
|
|
|
|
// public void setAsciiStream(int parameterIndex, InputStream x)
|
|
|
|
// throws SQLException {
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2017-05-18 14:08:48 +02:00
|
|
|
}
|
2015-04-22 10:36:00 +02:00
|
|
|
}
|
|
|
|
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void closeOnCompletion() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public boolean isCloseOnCompletion() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public boolean isClosed() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setPoolable(boolean poolable) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public boolean isPoolable() throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public <T> T unwrap(Class<T> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
2015-04-22 10:36:00 +02:00
|
|
|
/**
|
2017-05-18 14:08:48 +02:00
|
|
|
* JDBC 4.2
|
|
|
|
* Same as {@link #executeBatch()} but returns long[] instead of int[].
|
Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
2018-11-05 23:17:24 +01:00
|
|
|
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
|
2017-05-18 14:08:48 +02:00
|
|
|
this.currentXAConnection.close();
|
|
|
|
}
|
2015-04-22 10:36:00 +02:00
|
|
|
}
|
2013-09-19 16:22:42 +02:00
|
|
|
+
|
2017-05-18 14:08:48 +02:00
|
|
|
+ public void addStatementEventListener(javax.sql.StatementEventListener listener) {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void removeStatementEventListener(javax.sql.StatementEventListener listener) {
|
|
|
|
+ throw new UnsupportedOperationException();
|
|
|
|
+ }
|
2013-09-19 16:22:42 +02:00
|
|
|
}
|