change
This commit is contained in:
parent
5d51c463e5
commit
8acc6df455
|
@ -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 {
|
||||||
|
|
||||||
@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));
|
||||||
|
|
Loading…
Reference in New Issue