Skip to content

Commit

Permalink
[misc] 3.0.9 merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Nov 7, 2022
2 parents a0a442e + a42cde1 commit db68d08
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Change Log

## [3.0.9](https://github.com/mariadb-corporation/mariadb-connector-j/tree/3.0.9) (Nov 2022)
[Full Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.0.8...3.0.9)
* 2.7.7 merge
* CONJ-1012 stored procedure register output parameter as null if set before registerOutParameter command
* CONJ-1017 Calendar possible race condition, cause wrong timestamp setting

## [2.7.7](https://github.com/mariadb-corporation/mariadb-connector-j/tree/2.7.7) (Nov 2022)
[Full Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/compare/2.7.6...2.7.7)

* CONJ-1021 GSSAPI authentication might result in connection reset
* CONJ-1019 DatabaseMetaData.getImportedKeys should return real value for PK_NAME column
* CONJ-1016 avoid splitting BULK command into multiple commands in case of prepareStatement.setNull() use
* CONJ-1011 correcting possible NPE when using statement.cancel() that coincide with statement.close() in another thread
* CONJ-1007 Socket file descriptors are leaked after connecting with unix socket if DB is not up running

## [3.0.8](https://github.com/mariadb-corporation/mariadb-connector-j/tree/3.0.8) (Sept 2022)
[Full Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.0.7...3.0.8)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -875,9 +875,14 @@ private void testMoveToInsertRow(Connection con) throws SQLException {
assertEquals(3, rs.getInt("id"));
assertEquals("other-t1-value", rs.getString("t1"));
assertNull(rs.getString("t2"));
} finally {
con.commit();
}

stmt = sharedConn.createStatement();
stmt.execute("START TRANSACTION"); // if MAXSCALE ensure using WRITER
try (PreparedStatement preparedStatement =
con.prepareStatement(
sharedConn.prepareStatement(
"select id, t1, t2 from testMoveToInsertRow",
ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_UPDATABLE)) {
Expand Down Expand Up @@ -915,8 +920,9 @@ private void testMoveToInsertRow(Connection con) throws SQLException {
assertTrue(rs.next());
assertEquals(5, rs.getInt("id"));
assertEquals("t1-5", rs.getString("t1"));
} finally {
sharedConn.rollback();
}
con.rollback();
}

@Test
Expand Down

0 comments on commit db68d08

Please sign in to comment.