Update TimestampPrecisionInNanoInJniTest.java

This commit is contained in:
Yang Zhao 2021-06-21 10:59:45 +08:00 committed by GitHub
parent 9b4f437d49
commit 349e14a73f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public class TimestampPrecisionInNanoInJniTest {
private void checkCount(long count, ResultSet rs) throws SQLException { private void checkCount(long count, ResultSet rs) throws SQLException {
if (count == 0) { if (count == 0) {
Assert(0); Assert.fail();
} }
rs.next(); rs.next();
long test_count = rs.getLong(1); long test_count = rs.getLong(1);