diff --git a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBPreparedStatementTest.java b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBPreparedStatementTest.java index 170d63b94ea8fbe95af9114fab86daab4675c1ef..b10428c96153e28e3d46665464e6d05f16bb3cbb 100644 --- a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBPreparedStatementTest.java +++ b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBPreparedStatementTest.java @@ -20,7 +20,7 @@ public class TSDBPreparedStatementTest { long end = System.currentTimeMillis(); long start = end - 1000 * 60 * 60; pstmt_select.setTimestamp(1, new Timestamp(start)); - pstmt_select.setTimestamp(2, new Timestamp(endg)); + pstmt_select.setTimestamp(2, new Timestamp(end)); pstmt_select.setFloat(3, 0); ResultSet rs = pstmt_select.executeQuery();