This commit is contained in:
zyyang 2021-02-04 14:44:26 +08:00
parent 5e6028b503
commit 3af45d47d5
2 changed files with 9 additions and 8 deletions

View File

@ -13,19 +13,19 @@ public class InvalidResultSetPointerTest {
private static final String stbName = "stb";
private static final String tbName = "tb";
private static Connection connection;
private static int numOfSTb = 30000;
private static int numOfSTb = 300;
private static int numOfTb = 3;
private static int numOfThreads = 10;
private static int numOfThreads = 100;
@Test
public void test() throws SQLException {
// execute("drop database if exists " + dbName);
// execute("create database if not exists " + dbName);
execute("drop database if exists " + dbName);
execute("create database if not exists " + dbName);
execute("use " + dbName);
// execute("drop table if exists " + dbName + "." + stbName + "");
// createSTable();
// createTable();
// insert();
execute("drop table if exists " + dbName + "." + stbName + "");
createSTable();
createTable();
insert();
selectMultiThreading();
close();
}

View File

@ -14,6 +14,7 @@
<groupId>com.taosdata.jdbc</groupId>
<artifactId>taos-jdbcdriver</artifactId>
<version>2.0.18</version>
<systemPath></systemPath>
</dependency>
</dependencies>