Skip to content

Commit

Permalink
[misc] mysql 8.0.29 test correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Jun 23, 2022
1 parent ae893de commit b000d56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/java/org/mariadb/jdbc/ScalarFunctionsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public void scalarFctTest() throws SQLException {
queryScalar("SELECT {fn convert(?, SQL_BIGINT)}", 2147483648L, 2147483648L);
queryScalar("SELECT {fn convert(?, SQL_BIGINT)}", BigInteger.valueOf(2147483648L), 2147483648L);
queryScalar("SELECT {fn convert(?, SQL_BIGINT)}", 20, new Object[] {20, 20L});
if (!isMariadbServer() && minVersion(8, 0, 27)) {
if (!isMariadbServer() && minVersion(8, 0, 27) && !minVersion(8, 0, 29)) {
queryScalar(
"SELECT {fn convert(?, SQL_BOOLEAN)}",
true,
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/conf.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ DB_PORT=3306
DB_DATABASE=testj
DB_USER=root
DB_PASSWORD=
DB_OTHER=
DB_OTHER=

0 comments on commit b000d56

Please sign in to comment.