diff --git a/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/components/TaosDemoCommandLineRunner.java b/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/components/TaosDemoCommandLineRunner.java index 6642ca8f36690e6e20fc77936dd22ccc5890353d..d40bc1b5bfede04ec24b38cd97dd9b45763ea834 100644 --- a/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/components/TaosDemoCommandLineRunner.java +++ b/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/components/TaosDemoCommandLineRunner.java @@ -48,8 +48,6 @@ public class TaosDemoCommandLineRunner implements CommandLineRunner { System.exit(0); } - DataSource dataSource = DataSourceFactory.getInstance(config.host, config.port, config.user, config.password); - // 准备数据 prepareMetaData(config); // 超级表的meta