Skip to content

Commit

Permalink
CONJ-745] pool reset removal for mysql server since incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Nov 22, 2019
1 parent 1d92958 commit f7c59bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/mariadb/jdbc/MariaDbPoolDataSourceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void testResetDatabase() throws SQLException {
@Test
public void testResetSessionVariable() throws SQLException {
testResetSessionVariable(false);
if ((isMariadbServer() && minVersion(10, 2)) || (!isMariadbServer() && minVersion(5, 7))) {
if (isMariadbServer() && minVersion(10, 2)) {
testResetSessionVariable(true);
}
}
Expand Down Expand Up @@ -131,7 +131,7 @@ private int getWaitTimeout(Statement statement) throws SQLException {
@Test
public void testResetUserVariable() throws SQLException {
testResetUserVariable(false);
if ((isMariadbServer() && minVersion(10, 2)) || (!isMariadbServer() && minVersion(5, 7))) {
if (isMariadbServer() && minVersion(10, 2)) {
testResetUserVariable(true);
}
}
Expand Down

0 comments on commit f7c59bc

Please sign in to comment.