Skip to content
Permalink
Browse files

CONJ-745] pool reset removal for mysql server since incompatibility

  • Loading branch information
rusher committed Nov 22, 2019
1 parent 1d92958 commit f7c59bc661dfc964539fdefeacefed0ed65b5dd2
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/test/java/org/mariadb/jdbc/MariaDbPoolDataSourceTest.java
@@ -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);
}
}
@@ -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);
}
}

0 comments on commit f7c59bc

Please sign in to comment.
You can’t perform that action at this time.