This commit is contained in:
zyyang 2021-02-06 16:18:29 +08:00
parent 5d51c463e5
commit 8acc6df455
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public class ResultSetTest {
}
try {
statement.executeQuery("select * from " + dbName + "." + tName + " where ts = " + ts);
statement.execute("select * from " + dbName + "." + tName + " where ts = " + ts);
resSet = statement.getResultSet();
System.out.println(((TSDBResultSet) resSet).getRowData());
while (resSet.next()) {
@ -113,7 +113,7 @@ public class ResultSetTest {
@Test
public void testUnsupport() throws SQLException {
statement.executeQuery("show databases");
statement.execute("show databases");
resSet = statement.getResultSet();
Assert.assertNotNull(resSet.unwrap(TSDBResultSet.class));