Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mysql/mysql-connector-j
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5.1.38
Choose a base ref
...
head repository: mysql/mysql-connector-j
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5.1.39
Choose a head ref

Commits on Nov 19, 2015

  1. Post-release changes.

    fjssilva committed Nov 19, 2015
    Copy the full SHA
    ff62f6d View commit details

Commits on Dec 10, 2015

  1. Copy the full SHA
    fc5f1c7 View commit details
  2. Copy the full SHA
    21beada View commit details

Commits on Jan 11, 2016

  1. Code formatting

    soklakov committed Jan 11, 2016
    Copy the full SHA
    b465b53 View commit details

Commits on Jan 12, 2016

  1. Clean up warnings.

    soklakov committed Jan 12, 2016
    Copy the full SHA
    53f91cc View commit details
  2. Clean up warnings.

    soklakov committed Jan 12, 2016
    Copy the full SHA
    3a6c3ff View commit details

Commits on Jan 19, 2016

  1. Copy the full SHA
    e7d411a View commit details

Commits on Jan 20, 2016

  1. Findbugs cleanup

    soklakov committed Jan 20, 2016
    Copy the full SHA
    cc44a3b View commit details
  2. Copy the full SHA
    a75504b View commit details
  3. Code formatting

    soklakov committed Jan 20, 2016
    Copy the full SHA
    a52025f View commit details

Commits on Jan 27, 2016

  1. Fix for Bug#22385172, CONNECTOR/J MANIFEST DOES NOT EXPOSE FABRIC

    (OSGi).
    Jess Balint committed Jan 27, 2016
    Copy the full SHA
    94e9280 View commit details

Commits on Jan 29, 2016

  1. Copy the full SHA
    41c9b8e View commit details

Commits on Feb 1, 2016

  1. Clean up warnings.

    soklakov committed Feb 1, 2016
    Copy the full SHA
    d6aa38e View commit details

Commits on Feb 13, 2016

  1. Fix in Copyright notice.

    fjssilva committed Feb 13, 2016
    Copy the full SHA
    fe62d82 View commit details

Commits on Feb 19, 2016

  1. Fix for Bug#22598938, FABRICMYSQLDATASOURCE.GETCONNECTION() NPE AFTER

    SWITCHOVER
    Jess Balint committed Feb 19, 2016
    Copy the full SHA
    4dc893d View commit details

Commits on Feb 23, 2016

  1. Copy the full SHA
    26afc5e View commit details

Commits on Feb 24, 2016

  1. Replaced coverage library.

    soklakov committed Feb 24, 2016
    Copy the full SHA
    4dbc77d View commit details
  2. Copy the full SHA
    ca60db0 View commit details

Commits on Feb 25, 2016

  1. Copy the full SHA
    fa6c75d View commit details
  2. Copy the full SHA
    79391e4 View commit details

Commits on Feb 26, 2016

  1. Copy the full SHA
    f0b3443 View commit details
  2. Fix for testBug71038

    soklakov committed Feb 26, 2016
    Copy the full SHA
    6a03d26 View commit details
  3. Copy the full SHA
    492779c View commit details

Commits on Mar 8, 2016

  1. Fix for Bug#75956, Inserting timestamps using a server PreparedStatement

    and useLegacyDatetimeCode=false
    Jess Balint committed Mar 8, 2016
    Copy the full SHA
    62dcf35 View commit details
  2. Copy the full SHA
    4b4e21f View commit details
  3. Copy the full SHA
    58cded5 View commit details
  4. Copy the full SHA
    5b71b43 View commit details

Commits on Mar 11, 2016

  1. Deprecate the EOF packet.

    soklakov committed Mar 11, 2016
    Copy the full SHA
    e8d178f View commit details
  2. Minor testcase fixes.

    soklakov committed Mar 11, 2016
    Copy the full SHA
    56fd941 View commit details
  3. Copy the full SHA
    1047b94 View commit details

Commits on Apr 1, 2016

  1. Fix for Bug#80522 (22833410), Using useCursorFetch leads to data corr…

    …uption in Connector/J for TIME type.
    fjssilva committed Apr 1, 2016
    Copy the full SHA
    b2361d1 View commit details
  2. Fix for Bug#79343 (22353759), NPE in TimeUtil.loadTimeZoneMappings ca…

    …using server time zone value unrecognized.
    fjssilva committed Apr 1, 2016
    Copy the full SHA
    89e0ad1 View commit details
  3. Fix for Bug#77171 (21181466), On every connect getting sql_mode from …

    …server creates unnecessary exception.
    fjssilva committed Apr 1, 2016
    Copy the full SHA
    78472e9 View commit details
  4. Fix for Bug#79598 (22352812), Client side Prepared Statement caching …

    …bypasses JDBC42 Java 8 Time conversion.
    fjssilva committed Apr 1, 2016
    Copy the full SHA
    1bbef90 View commit details
  5. Copy the full SHA
    09c44d6 View commit details
  6. Copy the full SHA
    49c15ad View commit details
  7. Fix for Bug#22730682, ARRAYINDEXOUTOFBOUNDSEXCEPTION FROM CONNECTIONG…

    …ROUPMANAGER.REMOVEHOST().
    fjssilva committed Apr 1, 2016
    Copy the full SHA
    385a151 View commit details

Commits on Apr 4, 2016

  1. Fix for Bug#22848249, LOADBALANCECONNECTIONGROUPMANAGER.REMOVEHOST() …

    …NOT WORKING AS EXPECTED.
    fjssilva committed Apr 4, 2016
    Copy the full SHA
    edadd17 View commit details
  2. Copy the full SHA
    0977327 View commit details

Commits on Apr 12, 2016

  1. Fix for Bug#59462 (16736619), ConcurrentModificationException inside

    ConnectionImpl.closeAllOpenStatements().
    soklakov committed Apr 12, 2016
    Copy the full SHA
    df6563c View commit details
  2. Copy the full SHA
    f1c3c4f View commit details
  3. Copy the full SHA
    d6a8af8 View commit details

Commits on Apr 13, 2016

  1. Copy the full SHA
    10a4775 View commit details
  2. New version, 5.1.39

    fjssilva committed Apr 13, 2016
    Copy the full SHA
    9e49574 View commit details

Commits on Apr 29, 2016

  1. Fix for Bug#23188498, CLIENT HANG WHILE USING SERVERPREPSTMT WHEN PRO…

    …FILESQL=TRUE AND USEIS=TRUE.
    fjssilva committed Apr 29, 2016
    Copy the full SHA
    d7d135f View commit details
  2. Fix for Bug#23201930, CLIENT HANG WHEN RSLT CUNCURRENCY=CONCUR_UPDATA…

    …BLE AND RSLTSET TYPE=FORWARD_ONLY.
    fjssilva committed Apr 29, 2016
    Copy the full SHA
    e871dce View commit details

Commits on May 2, 2016

  1. Fix for Bug#23212347, ALL API CALLS ON RESULTSET METADATA RESULTS IN …

    …NPE WHEN USESERVERPREPSTMTS=TRUE.
    fjssilva committed May 2, 2016
    Copy the full SHA
    f353577 View commit details

Commits on May 4, 2016

  1. Update year in README.

    fjssilva committed May 4, 2016
    Copy the full SHA
    3289a35 View commit details
Showing with 4,069 additions and 2,659 deletions.
  1. +37 −0 CHANGES
  2. +1 −1 README
  3. +90 −218 build.xml
  4. +2 −1 src/com/mysql/fabric/HashShardMapping.java
  5. +8 −7 src/com/mysql/fabric/Response.java
  6. +3 −1 src/com/mysql/fabric/ServerGroup.java
  7. +2 −1 src/com/mysql/fabric/hibernate/FabricMultiTenantConnectionProvider.java
  8. +24 −12 src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java
  9. +3 −3 src/com/mysql/fabric/jdbc/FabricMySQLDriver.java
  10. +3 −1 src/com/mysql/fabric/jdbc/JDBC4FabricMySQLConnectionProxy.java
  11. +7 −4 src/com/mysql/fabric/proto/xmlrpc/DigestAuthentication.java
  12. +4 −4 src/com/mysql/fabric/proto/xmlrpc/InternalXmlRpcMethodCaller.java
  13. +5 −4 src/com/mysql/fabric/proto/xmlrpc/ResultSetParser.java
  14. +10 −10 src/com/mysql/fabric/proto/xmlrpc/XmlRpcClient.java
  15. +3 −2 src/com/mysql/fabric/xmlrpc/base/Value.java
  16. +3 −3 src/com/mysql/fabric/xmlrpc/exceptions/MySQLFabricException.java
  17. +17 −5 src/com/mysql/jdbc/Buffer.java
  18. +7 −5 src/com/mysql/jdbc/BufferRow.java
  19. +4 −2 src/com/mysql/jdbc/CallableStatement.java
  20. +8 −6 src/com/mysql/jdbc/CharsetMapping.java
  21. +3 −3 src/com/mysql/jdbc/Clob.java
  22. +61 −88 src/com/mysql/jdbc/ConnectionGroup.java
  23. +5 −8 src/com/mysql/jdbc/ConnectionGroupManager.java
  24. +46 −83 src/com/mysql/jdbc/ConnectionImpl.java
  25. +5 −1 src/com/mysql/jdbc/ConnectionProperties.java
  26. +40 −28 src/com/mysql/jdbc/ConnectionPropertiesImpl.java
  27. +103 −76 src/com/mysql/jdbc/DatabaseMetaData.java
  28. +32 −104 src/com/mysql/jdbc/DatabaseMetaDataUsingInfoSchema.java
  29. +15 −27 src/com/mysql/jdbc/EscapeProcessor.java
  30. +5 −5 src/com/mysql/jdbc/ExportControlled.java
  31. +7 −7 src/com/mysql/jdbc/Field.java
  32. +9 −9 src/com/mysql/jdbc/JDBC4ClientInfoProviderSP.java
  33. +4 −4 src/com/mysql/jdbc/JDBC4CommentClientInfoProvider.java
  34. +6 −3 src/com/mysql/jdbc/JDBC4Connection.java
  35. +2 −2 src/com/mysql/jdbc/JDBC4MySQLConnection.java
  36. +17 −15 src/com/mysql/jdbc/JDBC4MysqlSQLXML.java
  37. +3 −5 src/com/mysql/jdbc/JDBC4ServerPreparedStatement.java
  38. +98 −51 src/com/mysql/jdbc/LoadBalancedConnectionProxy.java
  39. +5 −2 src/com/mysql/jdbc/LocalizedErrorMessages.properties
  40. +10 −1 src/com/mysql/jdbc/MultiHostConnectionProxy.java
  41. +16 −1 src/com/mysql/jdbc/MultiHostMySQLConnection.java
  42. +3 −1 src/com/mysql/jdbc/MySQLConnection.java
  43. +5 −1 src/com/mysql/jdbc/MysqlErrorNumbers.java
  44. +183 −86 src/com/mysql/jdbc/MysqlIO.java
  45. +4 −3 src/com/mysql/jdbc/MysqlParameterMetadata.java
  46. +3 −3 src/com/mysql/jdbc/NdbLoadBalanceExceptionChecker.java
  47. +15 −9 src/com/mysql/jdbc/NonRegisteringDriver.java
  48. +4 −5 src/com/mysql/jdbc/PacketTooBigException.java
  49. +31 −27 src/com/mysql/jdbc/PreparedStatement.java
  50. +4 −4 src/com/mysql/jdbc/ReflectiveStatementInterceptorAdapter.java
  51. +23 −25 src/com/mysql/jdbc/ReplicationConnectionGroup.java
  52. +17 −24 src/com/mysql/jdbc/ReplicationConnectionGroupManager.java
  53. +148 −64 src/com/mysql/jdbc/ReplicationConnectionProxy.java
  54. +58 −10 src/com/mysql/jdbc/ReplicationMySQLConnection.java
  55. +114 −119 src/com/mysql/jdbc/ResultSetImpl.java
  56. +2 −2 src/com/mysql/jdbc/ResultSetMetaData.java
  57. +19 −15 src/com/mysql/jdbc/ResultSetRow.java
  58. +3 −3 src/com/mysql/jdbc/RowDataCursor.java
  59. +11 −11 src/com/mysql/jdbc/RowDataDynamic.java
  60. +37 −29 src/com/mysql/jdbc/SQLError.java
  61. +6 −6 src/com/mysql/jdbc/Security.java
  62. +94 −130 src/com/mysql/jdbc/ServerPreparedStatement.java
  63. +2 −2 src/com/mysql/jdbc/SocketMetadata.java
  64. +45 −51 src/com/mysql/jdbc/StatementImpl.java
  65. +41 −17 src/com/mysql/jdbc/StringUtils.java
  66. +8 −6 src/com/mysql/jdbc/TimeUtil.java
  67. +11 −8 src/com/mysql/jdbc/UpdatableResultSet.java
  68. +6 −2 src/com/mysql/jdbc/Util.java
  69. +2 −3 src/com/mysql/jdbc/authentication/MysqlClearPasswordPlugin.java
  70. +2 −3 src/com/mysql/jdbc/authentication/Sha256PasswordPlugin.java
  71. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/CommunicationsException.java
  72. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/MySQLDataException.java
  73. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/MySQLIntegrityConstraintViolationException.java
  74. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/MySQLInvalidAuthorizationSpecException.java
  75. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/MySQLNonTransientConnectionException.java
  76. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/MySQLNonTransientException.java
  77. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/MySQLQueryInterruptedException.java
  78. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/MySQLSyntaxErrorException.java
  79. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/MySQLTimeoutException.java
  80. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/MySQLTransactionRollbackException.java
  81. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/MySQLTransientConnectionException.java
  82. +3 −1 src/com/mysql/jdbc/exceptions/jdbc4/MySQLTransientException.java
  83. +4 −18 src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java
  84. +16 −3 src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java
  85. +15 −15 src/com/mysql/jdbc/jdbc2/optional/JDBC42CallableStatementWrapper.java
  86. +15 −15 src/com/mysql/jdbc/jdbc2/optional/JDBC42PreparedStatementWrapper.java
  87. +3 −3 src/com/mysql/jdbc/jdbc2/optional/JDBC4CallableStatementWrapper.java
  88. +3 −3 src/com/mysql/jdbc/jdbc2/optional/JDBC4ConnectionWrapper.java
  89. +3 −3 src/com/mysql/jdbc/jdbc2/optional/JDBC4PreparedStatementWrapper.java
  90. +5 −5 src/com/mysql/jdbc/jdbc2/optional/JDBC4StatementWrapper.java
  91. +3 −3 src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java
  92. +3 −3 src/com/mysql/jdbc/jdbc2/optional/MysqlXAConnection.java
  93. +10 −191 src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java
  94. +9 −197 src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java
  95. +3 −3 src/com/mysql/jdbc/jdbc2/optional/SuspendableXAConnection.java
  96. +2 −2 src/com/mysql/jdbc/jdbc2/optional/WrapperBase.java
  97. +4 −3 src/com/mysql/jdbc/profiler/ProfilerEvent.java
  98. +2 −2 src/com/mysql/jdbc/util/Base64Decoder.java
  99. +3 −2 src/com/mysql/jdbc/util/ReadAheadInputStream.java
  100. +1 −2 src/demo/fabric/EmployeesDataSource.java
  101. +2 −2 src/demo/fabric/resources/com/mysql/fabric/demo/employee.hbm.xml
  102. BIN src/lib-coverage/emma.jar
  103. BIN src/lib-coverage/emma_ant.jar
  104. +17 −6 src/testsuite/BaseTestCase.java
  105. +3 −3 src/testsuite/fabric/BaseFabricTestCase.java
  106. +15 −10 src/testsuite/fabric/TestResultSetParser.java
  107. +5 −8 src/testsuite/fabric/TestShardMapping.java
  108. +3 −3 src/testsuite/fabric/jdbc/TestBasicConnection.java
  109. +3 −3 src/testsuite/fabric/jdbc/TestFabricMySQLConnectionSharding.java
  110. +33 −32 src/testsuite/fabric/jdbc/TestHABasics.java
  111. +3 −3 src/testsuite/fabric/jdbc/TestHashSharding.java
  112. +3 −3 src/testsuite/fabric/jdbc/TestRegressions.java
  113. +5 −5 src/testsuite/perf/RetrievalPerfTest.java
  114. +60 −53 src/testsuite/regression/CallableStatementRegressionTest.java
  115. +8 −8 src/testsuite/regression/CharsetRegressionTest.java
  116. +1,092 −77 src/testsuite/regression/ConnectionRegressionTest.java
  117. +40 −12 src/testsuite/regression/DataSourceRegressionTest.java
  118. +3 −3 src/testsuite/regression/EscapeProcessorRegressionTest.java
  119. +48 −9 src/testsuite/regression/MetaDataRegressionTest.java
  120. +13 −13 src/testsuite/regression/MicroPerformanceRegressionTest.java
  121. +7 −6 src/testsuite/regression/PooledConnectionRegressionTest.java
  122. +227 −69 src/testsuite/regression/ResultSetRegressionTest.java
  123. +220 −36 src/testsuite/regression/StatementRegressionTest.java
  124. +19 −9 src/testsuite/regression/StressRegressionTest.java
  125. +90 −37 src/testsuite/regression/StringRegressionTest.java
  126. +6 −6 src/testsuite/regression/SubqueriesRegressionTest.java
  127. +17 −10 src/testsuite/regression/SyntaxRegressionTest.java
  128. +3 −3 src/testsuite/regression/UtilsRegressionTest.java
  129. +13 −13 src/testsuite/regression/jdbc4/ExceptionSubclassesTest.java
  130. +5 −6 src/testsuite/regression/jdbc4/StatementRegressionTest.java
  131. +64 −0 src/testsuite/regression/jdbc42/StatementRegressionTest.java
  132. +4 −4 src/testsuite/simple/CallableStatementTest.java
  133. +69 −64 src/testsuite/simple/CharsetTest.java
  134. +36 −27 src/testsuite/simple/ConnectionTest.java
  135. +3 −3 src/testsuite/simple/DataSourceTest.java
  136. +4 −3 src/testsuite/simple/DateTest.java
  137. +5 −9 src/testsuite/simple/EscapeProcessingTest.java
  138. +25 −20 src/testsuite/simple/MetadataTest.java
  139. +3 −3 src/testsuite/simple/MiniAdminTest.java
  140. +3 −5 src/testsuite/simple/MultiHostConnectionTest.java
  141. +3 −3 src/testsuite/simple/NumbersTest.java
  142. +23 −21 src/testsuite/simple/ResultSetTest.java
  143. +3 −3 src/testsuite/simple/ServerControllerTest.java
  144. +3 −3 src/testsuite/simple/SplitDBdotNameTest.java
  145. +35 −29 src/testsuite/simple/StatementsTest.java
  146. +7 −7 src/testsuite/simple/StringUtilsTest.java
  147. +3 −3 src/testsuite/simple/UpdatabilityTest.java
  148. +3 −3 src/testsuite/simple/UtilsTest.java
  149. +8 −8 src/testsuite/simple/XATest.java
  150. +15 −13 src/testsuite/simple/jdbc4/StatementsTest.java
  151. +13 −13 src/testsuite/simple/jdbc42/StatementsTest.java
37 changes: 37 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# Changelog
# $Id$
04-29-16 - Version 5.1.39

- Fix for Bug#23212347, ALL API CALLS ON RESULTSET METADATA RESULTS IN NPE WHEN USESERVERPREPSTMTS=TRUE.

- Fix for Bug#23201930, CLIENT HANG WHEN RSLT CUNCURRENCY=CONCUR_UPDATABLE AND RSLTSET TYPE=FORWARD_ONLY.

- Fix for Bug#23188498, CLIENT HANG WHILE USING SERVERPREPSTMT WHEN PROFILESQL=TRUE AND USEIS=TRUE.

- Fix for Bug#22678872, NPE DURING UPDATE WITH FABRIC.
New property 'loadBalanceHostRemovalGracePeriod' sets the grace period when removing hosts from a load-balanced connection.

- Fix for Bug#71131 (18068303), Poor error message in CallableStatement.java.

- Fix for Bug#59462 (16736619), ConcurrentModificationException inside ConnectionImpl.closeAllOpenStatements().

- Fix for Bug#22848249, LOADBALANCECONNECTIONGROUPMANAGER.REMOVEHOST() NOT WORKING AS EXPECTED.

- Fix for Bug#22730682, ARRAYINDEXOUTOFBOUNDSEXCEPTION FROM CONNECTIONGROUPMANAGER.REMOVEHOST().

- Fix for Bug#56479 (16738378), getTimestamp throws exception.

- Fix for Bug#79598 (22352812), Client side Prepared Statement caching bypasses JDBC42 Java 8 Time conversion.

- Fix for Bug#77171 (21181466), On every connect getting sql_mode from server creates unnecessary exception.

- Fix for Bug#79343 (22353759), NPE in TimeUtil.loadTimeZoneMappings causing server time zone value unrecognized.

- Fix for Bug#80522 (22833410), Using useCursorFetch leads to data corruption in Connector/J for TIME type.

- Deprecate the EOF packet.

- Fix for Bug#75956, Inserting timestamps using a server PreparedStatement and useLegacyDatetimeCode=false

- Fix for Bug#22385172, CONNECTOR/J MANIFEST DOES NOT EXPOSE FABRIC (OSGi).

- Fix for Bug#22598938, FABRICMYSQLDATASOURCE.GETCONNECTION() NPE AFTER SWITCHOVER.

11-30-15 - Version 5.1.38

- Fix for Bug#21286268, CONNECTOR/J REPLICATION USE MASTER IF SLAVE IS UNAVAILABLE.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ doubt, this particular copy of the software is released
under the version 2 of the GNU General Public License.
MySQL Connector/J is brought to you by Oracle.

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

License information can be found in the COPYING file.

Loading