From 2f80bac5fe5d1f9934aeec77715e42ff0c8801cd Mon Sep 17 00:00:00 2001 From: zyyang Date: Wed, 24 Feb 2021 17:09:40 +0800 Subject: [PATCH] change --- .../test/java/com/taosdata/jdbc/TSDBPreparedStatementTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 170d63b94e..b10428c961 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(); -- GitLab