Commit Graph

31 Commits

Author SHA256 Message Date
Fridrich Strba
56869b57ec Accepting request 818155 from home:pmonrealgonzalez:branches:Java:packages
- Update to 5.1.49 [bsc#1173600, CVE-2020-2875, CVE-2020-2933, CVE-2020-2934]
- Changes in 5.1.49:
  * INSERT..VALUE..lead to invalidation of batch insert.
  * CLIENT HANG WHEN LOADBALANCESTRATEGY IS BESTRESPONSETIME.
  * Remove third-party libraries from sources and bundles.
  * PREPAREDSTATEMENT.SETOBJECT(I, "FALSE", TYPES.BOOLEAN) ALWAYS SETS TRUE OR 1.
  * Not recommended default for 'allowLoadLocalInfile'.
  * Disable external entities in Fabric's XML parser.
  * INCORRECT DATE ERROR WHEN CALLING GETMETADATA ON PREPARED STATEMENT.
- Changes in 5.1.48:
  * COMMUNITY README AND README.TXT FILES HAS THE WRONG YEAR (2018).
  * REGRESSION UNIT TESTS FAILS WHEN THE 8.0 SERVER'S CHARSET IS SET TO DEFAULT UTF8MB4.
  * Update README.md and add new CONTRIBUTING.md.
  * Improve DatabaseMetaData.getSQLKeywords() to include new reserved words.
  * Parameter metadata inferred incorrectly when procedure or function doesn't exist.
  * Can't execute a stored procedure if exists function with same name.
  * PSTMT.EXECUTEUPDATE() FAILS WHEN SQL MODE IS NO_BACKSLASH_ESCAPES.
  * SYNTAX ERROR ON RESULTSET.UPDATEROW() WITH SQL_MODE NO_BACKSLASH_ESCAPES.
  * PREPAREDSTATEMENT.SETTIMESTAMP NULLPOINTEREXCEPTION.
  * Support new utf8mb4 bin collation.
  * GETTABLENAME() RETURNS NULL FOR A QUERY HAVING COUNT(*) WITH JDBC DRIVER V8.0.12.
  * SETTING LOGSLOWQUERIES SHOULD NOT AUTOMATICALLY ENABLE PROFILESQL FOR QUERIES.
  * PROFILEREVENT HOSTNAME HAS NO GETTER().
  * CONNECTOR J WITH PROFILESQL - LOG CONTAINS LOTS OF STACKTRACE DATA.
  * PROFILEREVENT.PACK() THROWS ARRAYINDEXOUTOFBOUNDSEXCEPTION.
  * CHARACTERS GET GARBLED IN CONCAT() IN PS WHEN USECURSORFETCH=TRUE.
  * javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify.
  * PLEASE AVOID SHOW PROCESSLIST IF POSSIBLE.
  * Wrong defaults on collation mappings.
  * ADD MAPPING FOR UTF8MB4_ZH_0900_AS_CS COLLATION.

OBS-URL: https://build.opensuse.org/request/show/818155
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=55
2020-07-02 06:14:27 +00:00
Fridrich Strba
58ee288472 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=53 2019-10-01 09:16:24 +00:00
Fridrich Strba
0aa820d95a 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 22:17:24 +00:00
Fridrich Strba
9e85268ed1 Fix build with jdk9
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=47
2017-10-06 08:15:22 +00:00
Fridrich Strba
3b93728b1b OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=46 2017-09-29 06:45:53 +00:00
Fridrich Strba
ab29e838c1 Require java 8 to build, since it is the last version that can build with source/target 1.5
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=44
2017-09-10 13:50:43 +00:00
Tomáš Chvátal
2a02d3d864 Accepting request 517936 from home:pmonrealgonzalez:branches:Java:packages
- Update to version 5.1.43
  * Fixed problems connecting to MYSQL 8.0.3.
  * Deprecating COM_SHUTDOWN
  * GETDATE(),GETTIME() AND GETTIMESTAMP() called with NULL
    calendar returs NPE
  * C/J 5.1 GIS tests are failing with MYSQL 8.0.1C/J 5.1 GIS
  * Updated time zone mappings with latest TZ databases
  * For a full list of fixed issues see CHANGES or:
    http://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1.html

OBS-URL: https://build.opensuse.org/request/show/517936
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=42
2017-08-21 16:30:43 +00:00
Tomáš Chvátal
40b8356db7 Accepting request 496659 from home:DZiolkowski:branches:Java:packages
- New build dependency: javapackages-local
- cleaned spec using spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/496659
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=40
2017-05-19 11:43:26 +00:00
Tomáš Chvátal
de088f1e50 - Hardcode requirement for java 1.8 or newer to build
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=39
2017-05-18 12:39:10 +00:00
Tomáš Chvátal
64518923b8 - Add patch compile-jdk7.patch to compile with old JDK versions
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=38
2017-05-18 12:24:26 +00:00
Tomáš Chvátal
81bd08a58f - Drop patch use-classpath-in-tests.patch
- Add patch disabling testsuite:
  * disable-testsuite.patch
- Drop patch extra-libs-build.patch:
  * Rather use the thing to propagate some wrongly found libs
- Drop patch no-jdk5-requirement.patch:
  * Simply override the value in ant command
- Add patch hibernate-check.patch to remove hibernate check

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=36
2017-05-18 12:08:48 +00:00
Tomáš Chvátal
f772ac4b8f - Add patch to relax compiler check:
* javac-check.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=34
2017-05-18 11:11:06 +00:00
Tomáš Chvátal
94b1cd0d11 - Remove upstreamed mysql-connector-java-5.1.35-CVE-2017-3523.patch
- Refresh patch extra-libs-build.patch
- Drop obsolete patch jdk6-check-use-jdk7.patch
- Refresh patch no-jdk5-requirement.patch
- Attempt to refresh mysql-connector-java-jdbc-4.1.patch
  * Partialy merged by upstream, many conflicts

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=33
2017-05-18 11:05:10 +00:00
Tomáš Chvátal
62f74de843 - Version update to 5.1.42 bsc#1035210 bsc#1035697 bsc#1035211:
* CVE-2017-3589 CVE-2017-3523 CVE-2017-3586 
  * http://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1.html
- Remove upstreamed mysql-connector-java-5.1.35-CVE-2017-3523.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=31
2017-05-18 10:44:41 +00:00
Tomáš Chvátal
918e798c4c Accepting request 492515 from home:pmonrealgonzalez:branches:Java:packages
- Fix for CVE-2017-3523 (bsc#1035697)
  * Unexpected automatic deserialisation of Java objects
  * Affected software: MySQL Connector/J
  * Remote Code Execution Vulnerability
- Added patch: mysql-connector-java-5.1.35-CVE-2017-3523.patch

OBS-URL: https://build.opensuse.org/request/show/492515
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=29
2017-05-03 07:50:23 +00:00
Tomáš Chvátal
3e31a322cf - Fix the patches to allow jdbc3 build and reenable it:
* mysql-connector-java-jdbc-4.1.patch
  * no-jdk5-requirement.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=27
2015-06-11 15:13:13 +00:00
Tomáš Chvátal
e1f41462f5 - Add new patch to build tests:
* use-classpath-in-tests.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=25
2015-05-13 17:29:13 +00:00
Tomáš Chvátal
0397197231 - Update to 5.1.35 (see CHANGES for full list of issues)
bnc#927981 CVE-2015-2575:
  * http://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1.html
- Remove not applicable patch:
  * mysql-connector-java-7-jdbc-4.1.patch
- Do not explicitely check for jdk6 but be happy with 7 and 8:
  * jdk6-check-use-jdk7.patch
- Do not require hibernate4 to actually build:
  * extra-libs-build.patch
- Do not build jdk5 depending jdbc3:
  * no-jdk5-requirement.patch
- Add and rebase jdbc4.1 patch:
  * mysql-connector-java-jdbc-4.1.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=21
2015-04-21 17:01:55 +00:00
Tomáš Chvátal
a7b9db33d6 new jpackage-tools
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=19
2015-03-18 10:07:54 +00:00
Tomáš Chvátal
77aaee9865 - Cleanup with spec-cleaner
- Try to build on SLE_11

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=17
2014-06-27 12:34:22 +00:00
Michal Vyskocil
dba89fbc38 - update to 5.1.25 (see CHANGES for full list)
* support for Connection Attributes when used with MySQL Server versions (5.6+).
  5.1.24
  * support of password expiration protocol. This introduces new boolean
    connection property disconnectOnExpiredPasswords.
  5.1.23
  * added support of password expiration protocol.
  * driver now allows the mechanism for caching MySQL server configuration
    values replaceable at runtime.
  * Connection.setReadOnly() will take advantage of server-side support for
    read-only transactions present in MySQL-5.6 and newer. Calling .isReadOnly()
    will incur a round-trip if useLocalSessionState.
  5.1.22
  * support of ON UPDATE CURRENT_TIMESTAMP for TIMESTAMP and DATETIME fields.
  5.1.21
  * new built-in authentication plugin
    com.mysql.jdbc.authentication.Sha256PasswordPlugin ("sha256_password").
  * Added new built-in authentication plugin
    com.mysql.jdbc.authentication.MysqlClearPasswordPlugin ("mysql_clear_password").
    It allows C/J based clients to connect to MySQL accounts.
  * the ability to add new client-side prepared statement parse info caches
  * implemented several JDBC-4.1 methods from Java-7:
  5.1.19:
  * Added support for pluggable authentication via the com.mysql.jdbc.AuthenticationPlugin
- rebase and rename mysql-connector-java-5.1.19-java7.patch to
  * mysql-connector-java-7-jdbc-4.1.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=15
2013-09-19 14:22:42 +00:00
Michal Vyskocil
2aa871198f Accepting request 198859 from home:pgajdos
- add jpackages-tools to buildrequires

OBS-URL: https://build.opensuse.org/request/show/198859
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=14
2013-09-13 10:37:24 +00:00
Michal Vyskocil
837b5a3b52 - use add_maven_depmap provided by javapackages-tools
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=12
2013-08-23 09:48:38 +00:00
Michal Vyskocil
b16cccdf41 - build require java-devel >= 1.6.0 as well
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=9
2012-06-20 08:16:01 +00:00
Michal Vyskocil
c24fb792cd - fix a build with jdk7 (build jdbc 3.0 with gcj)
- remove some obsoleted macros (gcj, jboss)
- remove jars from source file as well

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=7
2012-06-18 13:20:26 +00:00
Michal Vyskocil
531bbe3605 fix a build with jdk7
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=6
2012-06-18 13:16:55 +00:00
Stephan Kulow
1a8db28968 Accepting request 116436 from Java:packages
- remove the docs/ from source tarball due license issues

- update to 5.1.19
  * plugable authentication via com.mysql.jdbc.AuthenticationPlugin
  * retrieve servet charset name using index
  * ability to determine if the connection is against server on the same host
  * added slf4j logging adapter
  * and many more features and bugfixes
- removed -javadoc patch and package
- add maven pom

OBS-URL: https://build.opensuse.org/request/show/116436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mysql-connector-java?expand=0&rev=12
2012-05-21 06:06:41 +00:00
OBS User unknown
f1de0891ae OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mysql-connector-java?expand=0&rev=4 2008-09-13 03:54:59 +00:00
OBS User unknown
0e23ffcd8f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mysql-connector-java?expand=0&rev=3 2008-08-07 09:59:22 +00:00
OBS User unknown
605edc7388 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mysql-connector-java?expand=0&rev=2 2008-07-17 21:28:46 +00:00
OBS User unknown
3b17c3f2b0 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mysql-connector-java?expand=0&rev=1 2007-01-15 23:26:13 +00:00