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.35
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.36
Choose a head ref

Commits on Feb 5, 2015

  1. Post-release changes.

    fjssilva committed Feb 5, 2015
    Copy the full SHA
    f85f01a View commit details
  2. Copy the full SHA
    e447558 View commit details

Commits on Mar 10, 2015

  1. Copy the full SHA
    4833f3d View commit details
  2. Copy the full SHA
    456b403 View commit details
  3. Fix for Bug#19536760, GETSTRING() CALL AFTER RS.RELATIVE() RETURNS

    NULLPOINTEREXCEPTION
    soklakov committed Mar 10, 2015
    Copy the full SHA
    af753dc View commit details

Commits on Mar 17, 2015

  1. Copy the full SHA
    d9af746 View commit details

Commits on Mar 19, 2015

  1. Copy the full SHA
    8af7444 View commit details

Commits on Mar 24, 2015

  1. Copy the full SHA
    5795c65 View commit details
  2. Update on fix for Bug#75592, compilation failure and adjustments in t…

    …est.
    
    Includes code formatting issue.
    fjssilva committed Mar 24, 2015
    Copy the full SHA
    ffc9a60 View commit details

Commits on Apr 23, 2015

  1. Copy the full SHA
    c3e0c92 View commit details

Commits on Apr 28, 2015

  1. Copy the full SHA
    2b71a17 View commit details

Commits on Apr 30, 2015

  1. Copy the full SHA
    cf22d61 View commit details
  2. Fix for Bug#62452 (16444069), NPE thrown in JDBC4MySQLPooledException

    when statement is closed.
    soklakov committed Apr 30, 2015
    Copy the full SHA
    b4e35a0 View commit details

Commits on May 7, 2015

  1. Copy the full SHA
    6780331 View commit details

Commits on May 8, 2015

  1. Fix for Bug#20804635, GETTIME() AND GETDATE() FUNCTIONS FAILS WHEN

    FRACTIONAL PART EXISTS
    soklakov committed May 8, 2015
    Copy the full SHA
    9403afa View commit details
  2. Copy the full SHA
    762044a View commit details

Commits on May 12, 2015

  1. Copy the full SHA
    2a115ce View commit details

Commits on May 15, 2015

  1. Copy the full SHA
    9e3f651 View commit details

Commits on May 22, 2015

  1. Fix for Bug#20825727, CONNECT FAILURE WHEN TRY TO CONNECT SHA USER WI…

    …TH DIFFERENT CHARSET.
    fjssilva committed May 22, 2015
    Copy the full SHA
    5719d35 View commit details
  2. Code clean-up.

    fjssilva committed May 22, 2015
    Copy the full SHA
    7553c2c View commit details

Commits on May 27, 2015

  1. Copy the full SHA
    df04b13 View commit details

Commits on May 28, 2015

  1. Copy the full SHA
    54462c6 View commit details
  2. Fix for Bug#72077 (18425861), Fabric connection with username to a

    server with disabled auth throws NPE
    Jess Balint committed May 28, 2015
    Copy the full SHA
    f79ab42 View commit details
  3. Add test for already fixed Bug#72546 (18719760), C/J Fabric

    createGroup() throws ClassCastException
    Jess Balint committed May 28, 2015
    Copy the full SHA
    81bee36 View commit details

Commits on Jun 4, 2015

  1. Copy the full SHA
    fa8faaf View commit details
  2. Fix for testBug72630.

    Fix for characterEncoding check during intialization.
    soklakov committed Jun 4, 2015
    Copy the full SHA
    3227aae View commit details
  3. Copy the full SHA
    485220c View commit details
  4. Fix for testBug72630.

    soklakov committed Jun 4, 2015
    Copy the full SHA
    37d4809 View commit details
  5. Fix for testBug72630.

    soklakov committed Jun 4, 2015
    Copy the full SHA
    6a6eb32 View commit details
  6. Fix for testBug72630.

    soklakov committed Jun 4, 2015
    Copy the full SHA
    f4f3fb0 View commit details

Commits on Jun 9, 2015

  1. Fix for Bug#77217 (21184949), ClassCastException when executing a

    streaming PreparedStatement with Fabric
    Jess Balint committed Jun 9, 2015
    Copy the full SHA
    02d52a0 View commit details

Commits on Jun 11, 2015

  1. Copy the full SHA
    2ce8e08 View commit details
  2. Fix for Bug#19803348, GETPROCEDURES() RETURNS INCORRECT OUTPUT WHEN U…

    …SEINFORMATIONSCHEMA=FALSE.
    fjssilva committed Jun 11, 2015
    Copy the full SHA
    71f1dff View commit details
  3. Fix for Bug#20727196, GETPROCEDURECOLUMNS() RETURNS EXCEPTION FOR FUN…

    …CTION WHICH RETURNS ENUM/SET TYPE.
    fjssilva committed Jun 11, 2015
    Copy the full SHA
    e88aa6c View commit details
  4. Copy the full SHA
    d404d7a View commit details

Commits on Jun 12, 2015

  1. Copy the full SHA
    3ba59ef View commit details

Commits on Jun 13, 2015

  1. Copy the full SHA
    36d186d View commit details

Commits on Jun 15, 2015

  1. Add test for new syntax 'ALTER TABLE ... DISCARD|IMPORT PARTITION ...…

    …' introduced in MySQL 5.7.4.
    
    Update reserved words list DatabaseMetaData and corresponding tests.
    fjssilva committed Jun 15, 2015
    Copy the full SHA
    f05b629 View commit details
  2. Copy the full SHA
    5f13461 View commit details
  3. New version, 5.1.36

    fjssilva committed Jun 15, 2015
    Copy the full SHA
    de81ca3 View commit details

Commits on Jun 19, 2015

  1. Addendum at patch for BUG#70927 fix.

    Fix for failing authentication with 'sha256_password' plugin and using RSA keys with length higher than 1024 bits.
    fjssilva committed Jun 19, 2015
    Copy the full SHA
    4fc1f96 View commit details
Showing with 2,164 additions and 860 deletions.
  1. +36 −0 CHANGES
  2. +33 −0 README.md
  3. +82 −82 build.xml
  4. +13 −1 src/com/mysql/fabric/Server.java
  5. +27 −1 src/com/mysql/fabric/ServerGroup.java
  6. +2 −2 src/com/mysql/fabric/ServerRole.java
  7. +2 −1 src/com/mysql/fabric/jdbc/ErrorReportingExceptionInterceptor.java
  8. +116 −45 src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java
  9. +13 −8 src/com/mysql/fabric/proto/xmlrpc/DigestAuthentication.java
  10. +2 −1 src/com/mysql/fabric/proto/xmlrpc/InternalXmlRpcMethodCaller.java
  11. +7 −0 src/com/mysql/fabric/proto/xmlrpc/XmlRpcClient.java
  12. +61 −31 src/com/mysql/jdbc/ConnectionImpl.java
  13. +9 −2 src/com/mysql/jdbc/ConnectionPropertiesImpl.java
  14. +62 −47 src/com/mysql/jdbc/DatabaseMetaData.java
  15. +6 −6 src/com/mysql/jdbc/LocalizedErrorMessages.properties
  16. +28 −16 src/com/mysql/jdbc/MysqlIO.java
  17. +4 −36 src/com/mysql/jdbc/PreparedStatement.java
  18. +17 −3 src/com/mysql/jdbc/ReplicationConnection.java
  19. +4 −1 src/com/mysql/jdbc/ReplicationConnectionGroup.java
  20. +37 −25 src/com/mysql/jdbc/ResultSetImpl.java
  21. +46 −33 src/com/mysql/jdbc/ResultSetRow.java
  22. +2 −7 src/com/mysql/jdbc/RowDataDynamic.java
  23. +2 −2 src/com/mysql/jdbc/Security.java
  24. +0 −2 src/com/mysql/jdbc/SocksProxySocketFactory.java
  25. +2 −1 src/com/mysql/jdbc/StandardSocketFactory.java
  26. +19 −33 src/com/mysql/jdbc/StatementImpl.java
  27. +10 −15 src/com/mysql/jdbc/StringUtils.java
  28. +23 −12 src/com/mysql/jdbc/Util.java
  29. +15 −3 src/com/mysql/jdbc/authentication/MysqlClearPasswordPlugin.java
  30. +5 −3 src/com/mysql/jdbc/authentication/MysqlNativePasswordPlugin.java
  31. +5 −2 src/com/mysql/jdbc/authentication/MysqlOldPasswordPlugin.java
  32. +23 −5 src/com/mysql/jdbc/authentication/Sha256PasswordPlugin.java
  33. +3 −9 src/com/mysql/jdbc/jdbc2/optional/JDBC4MysqlPooledConnection.java
  34. +3 −9 src/com/mysql/jdbc/jdbc2/optional/JDBC4MysqlXAConnection.java
  35. +3 −9 src/com/mysql/jdbc/jdbc2/optional/JDBC4SuspendableXAConnection.java
  36. +0 −101 src/doc/sources/connPropsToDocbook.xsl
  37. +0 −51 src/doc/sources/errorMapToDocbook.xsl
  38. +0 −5 src/doc/sources/placeholder.txt
  39. +27 −31 src/doc/sources/pom.xml
  40. +55 −0 src/testsuite/BaseStatementInterceptor.java
  41. +66 −0 src/testsuite/fabric/TestAdminCommands.java
  42. +146 −14 src/testsuite/fabric/jdbc/TestHABasics.java
  43. +25 −3 src/testsuite/fabric/jdbc/TestRegressions.java
  44. +45 −18 src/testsuite/regression/CharsetRegressionTest.java
  45. +415 −46 src/testsuite/regression/ConnectionRegressionTest.java
  46. +38 −20 src/testsuite/regression/DataSourceRegressionTest.java
  47. +234 −28 src/testsuite/regression/MetaDataRegressionTest.java
  48. +54 −0 src/testsuite/regression/ResultSetRegressionTest.java
  49. +26 −79 src/testsuite/regression/StatementRegressionTest.java
  50. +49 −2 src/testsuite/regression/SyntaxRegressionTest.java
  51. +51 −2 src/testsuite/regression/jdbc4/ConnectionRegressionTest.java
  52. +206 −5 src/testsuite/regression/jdbc4/MetaDataRegressionTest.java
  53. +2 −0 src/testsuite/simple/ConnectionTest.java
  54. +3 −2 src/testsuite/simple/StatementsTest.java
36 changes: 36 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# Changelog
# $Id$
06-30-15 - Version 5.1.36

- Add test for new syntax 'ALTER TABLE ... DISCARD|IMPORT PARTITION ...' introduced in MySQL 5.7.4.

- Fix for Bug#20727196, GETPROCEDURECOLUMNS() RETURNS EXCEPTION FOR FUNCTION WHICH RETURNS ENUM/SET TYPE.

- Fix for Bug#19803348, GETPROCEDURES() RETURNS INCORRECT OUTPUT WHEN USEINFORMATIONSCHEMA=FALSE.

- Fix for Bug#21215151, DATABASEMETADATA.GETCATALOGS() FAILS TO SORT RESULTS.

- Fix for Bug#72630 (18758686), NullPointerException during handshake in some situations

- Fix for Bug#20825727, CONNECT FAILURE WHEN TRY TO CONNECT SHA USER WITH DIFFERENT CHARSET.

- Flag RowDataDynamic.isInterrupted removed as it isn't needed.

- Fix for Bug#20518653, XSL FILES IN PACKAGES

- Fix for Bug#20804635, GETTIME() AND GETDATE() FUNCTIONS FAILS WHEN FRACTIONAL PART EXISTS

- Fix for Bug#62452 (16444069), NPE thrown in JDBC4MySQLPooledException when statement is closed.

- Fix for BUG#70927 (17810800), Connector/J COM_CHANGE_USER handling is broken

- Fix for Bug#75335 (20283655), Maven artifact for Connector/J is missing source jar.

- Fix for BUG#75592 (20408891), "SHOW VARIABLES WHERE" is expensive.

- Fix for Bug#75113 (20821888), Fail in failover of the connection in MySQL fabric

- Fix for Bug#72077 (18425861), Fabric connection with username to a server with disabled auth throws NPE

- Add test for already fixed Bug#72546 (18719760), C/J Fabric createGroup() throws ClassCastException

- Fix for Bug#77217 (21184949), ClassCastException when executing a streaming PreparedStatement with Fabric

03-23-15 - Version 5.1.35

- Fix for Bug#19536760, GETSTRING() CALL AFTER RS.RELATIVE() RETURNS NULLPOINTEREXCEPTION
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# MySQL Connector/J

MySQL provides connectivity for client applications developed in the Java programming language with MySQL Connector/J, a driver that implements the [Java Database Connectivity (JDBC) API](http://www.oracle.com/technetwork/java/javase/jdbc/index.html).

MySQL Connector/J 5.1 is a JDBC Type 4 driver that is compatible with the [JDBC 3.0](http://docs.oracle.com/javase/1.5.0/docs/guide/jdbc/), [JDBC 4.0](http://docs.oracle.com/javase/6/docs/technotes/guides/jdbc/) and [JDBC 4.1](http://docs.oracle.com/javase/7/docs/technotes/guides/jdbc/) specifications. The Type 4 designation means that the driver is a pure Java implementation of the MySQL protocol and does not rely on the MySQL client libraries.

For detailed information please visit the official [MySQL Connector/J documentation](http://dev.mysql.com/doc/connector-j/en/index.html).

## Licensing

Please refer to files README and COPYING, available in this repository, and [Legal Notices in documentation](http://dev.mysql.com/doc/connector-j/en/preface.html) for further details.

## Download & Install

MySQL Connector/J can be installed from pre-compiled packages that can be downloaded from the [MySQL downloads page](http://dev.mysql.com/downloads/connector/j/). Installing Connector/J only requires extracting the corresponding Jar file from the downloaded bundle and place it somewhere in the application's CLASSPATH.

### Building from sources

This driver can also be complied and installed from the sources available in this repository. Please refer to the documentation for [detailed instructions](http://dev.mysql.com/doc/connector-j/en/connector-j-installing-source.html) on how to do it.

### GitHub Repository

This repository contains the MySQL Connector/J source code as per latest released version. You should expect to see the same contents here and within the latest released Connector/J package, except for the pre-compiled Jar.

## Additional resources

- [MySQL Connector/JDBC and Java forum](http://forums.mysql.com/list.php?39)
- [MySQL and Java Mailing Lists](http://lists.mysql.com/java)
- [InsideMySQL Connectors Blog](http://insidemysql.com/category/mysql-development/connectors/)
- [MySQL Connectors Java Blog](https://blogs.oracle.com/mysqlconnectors-java)
- [MySQL Bugs database](http://bugs.mysql.com/)
- For more information about this and other MySQL products, please visit [MySQL Contact & Questions](http://www.mysql.com/about/contact/).

Loading