提交 8acc6df4 编写于 作者: Z zyyang

change

上级 5d51c463
...@@ -66,7 +66,7 @@ public class ResultSetTest { ...@@ -66,7 +66,7 @@ public class ResultSetTest {
} }
try { try {
statement.executeQuery("select * from " + dbName + "." + tName + " where ts = " + ts); statement.execute("select * from " + dbName + "." + tName + " where ts = " + ts);
resSet = statement.getResultSet(); resSet = statement.getResultSet();
System.out.println(((TSDBResultSet) resSet).getRowData()); System.out.println(((TSDBResultSet) resSet).getRowData());
while (resSet.next()) { while (resSet.next()) {
...@@ -113,7 +113,7 @@ public class ResultSetTest { ...@@ -113,7 +113,7 @@ public class ResultSetTest {
@Test @Test
public void testUnsupport() throws SQLException { public void testUnsupport() throws SQLException {
statement.executeQuery("show databases"); statement.execute("show databases");
resSet = statement.getResultSet(); resSet = statement.getResultSet();
Assert.assertNotNull(resSet.unwrap(TSDBResultSet.class)); Assert.assertNotNull(resSet.unwrap(TSDBResultSet.class));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册