Merge pull request #4814 from taosdata/feature/TD-2200

Feature/td 2200
This commit is contained in:
huili 2021-01-06 09:28:35 +08:00 committed by GitHub
commit db60b2b5c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -79,6 +79,12 @@
<version>1.2.58</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.49</version>
</dependency>
</dependencies>
<build>

View File

@ -411,7 +411,6 @@ public class RestfulConnection implements Connection {
public void setSchema(String schema) throws SQLException {
if (isClosed())
throw new SQLException(CONNECTION_IS_CLOSED);
synchronized (RestfulConnection.class) {
this.database = schema;
}