[TD-2286]<fix>: fix wrong error info when use unexisted database
This commit is contained in:
parent
3202b93234
commit
3fad85e3a9
|
@ -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>
|
||||
|
|
|
@ -21,7 +21,7 @@ public class JDBCDemo {
|
|||
}
|
||||
}
|
||||
|
||||
if (host == null || driverType == null) {
|
||||
if (host == null) {
|
||||
printHelp();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue