Skip to content

Commit

Permalink
bump 3.0.1-beta version
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Jul 29, 2021
1 parent b4fa970 commit e9433f0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## [3.0.1-beta](https://github.com/mariadb-corporation/mariadb-connector-j/tree/3.0.1-rc) (29 Jul 2021)
[Full Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.0.0-alpha...3.0.1-beta)

* CONJ-879 Provide JPMS module descriptor
* CONJ-880 metadata query performance correction
* CONJ-884 MariaDbPoolDataSource leaks connections when the mariadb server restarts
* CONJ-885 org.mariadb.jdbc.internal.util.pool.Pool swallows SQLException during addConnection
* CONJ-891 getImportedKeys with null catalog restrict result to current database
* CONJ-894 Adding useMysqlMetadata for 2.7 compatibility


## [2.7.4](https://github.com/mariadb-corporation/mariadb-connector-j/tree/2.7.4) (29 Jul 2021)
[Full Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/compare/2.7.3...2.7.4)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ or maven :
```

New version 3.0 is a complete rewrite with code simplification, reduced size (15%), more than 90% coverage tested, with performance gain.
But still in alpha for now:
But still in beta for now:
```script
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.0.0-alpha</version>
<version>3.0.1-beta</version>
</dependency>
```

Expand Down
4 changes: 3 additions & 1 deletion src/main/java/org/mariadb/jdbc/client/ConnectionHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ public static Socket connectSocket(final Configuration conf, final HostAddress h

} catch (IOException ioe) {
throw new SQLNonTransientConnectionException(
String.format("Socket fail to connect to host:%s. %s", hostAddress == null ? conf.localSocket() : hostAddress, ioe.getMessage()),
String.format(
"Socket fail to connect to host:%s. %s",
hostAddress == null ? conf.localSocket() : hostAddress, ioe.getMessage()),
"08000",
ioe);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ public void escaping() throws Exception {
@Test
public void testWarnings() throws SQLException {
Assumptions.assumeTrue(
!"skysql".equals(System.getenv("srv")) && !"skysql-ha".equals(System.getenv("srv")));
!"skysql".equals(System.getenv("srv")) && !"skysql-ha".equals(System.getenv("srv")));
Assumptions.assumeTrue(isMariaDBServer());
Assumptions.assumeTrue(
!"skysql".equals(System.getenv("srv")) && !"skysql-ha".equals(System.getenv("srv")));
Expand Down

0 comments on commit e9433f0

Please sign in to comment.