[TD-2286]<fix>: fix wrong error info when use unexisted database

This commit is contained in:
zyyang 2021-01-07 10:50:11 +08:00
parent 3202b93234
commit 3fad85e3a9
2 changed files with 9 additions and 1 deletions

View File

@ -48,4 +48,12 @@
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.taosdata.jdbc</groupId>
<artifactId>taos-jdbcdriver</artifactId>
<version>2.0.15</version>
</dependency>
</dependencies>
</project>

View File

@ -21,7 +21,7 @@ public class JDBCDemo {
}
}
if (host == null || driverType == null) {
if (host == null) {
printHelp();
}