From 61a1563864ce355c1f03e3a4b80a2df6b6adf90a Mon Sep 17 00:00:00 2001 From: zyyang Date: Wed, 27 Jan 2021 15:17:10 +0800 Subject: [PATCH] change --- .../main/java/com/taosdata/example/common/InsertTask.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/examples/JDBC/connectionPools/src/main/java/com/taosdata/example/common/InsertTask.java b/tests/examples/JDBC/connectionPools/src/main/java/com/taosdata/example/common/InsertTask.java index e39a613aa6..da7c9a22b5 100644 --- a/tests/examples/JDBC/connectionPools/src/main/java/com/taosdata/example/common/InsertTask.java +++ b/tests/examples/JDBC/connectionPools/src/main/java/com/taosdata/example/common/InsertTask.java @@ -13,11 +13,11 @@ public class InsertTask implements Runnable { private static final Logger logger = Logger.getLogger(InsertTask.class); private final DataSource ds; - private final int batchSize; private final String dbName; - private final int tableSize; + private final long tableSize; + private final long batchSize; - public InsertTask(DataSource ds, String dbName, int tableSize, int batchSize) { + public InsertTask(DataSource ds, String dbName, long tableSize, long batchSize) { this.ds = ds; this.dbName = dbName; this.tableSize = tableSize; -- GitLab