未验证 提交 db60b2b5 编写于 作者: H huili 提交者: GitHub

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

Feature/td 2200
...@@ -79,6 +79,12 @@ ...@@ -79,6 +79,12 @@
<version>1.2.58</version> <version>1.2.58</version>
</dependency> </dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.49</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
......
...@@ -411,7 +411,6 @@ public class RestfulConnection implements Connection { ...@@ -411,7 +411,6 @@ public class RestfulConnection implements Connection {
public void setSchema(String schema) throws SQLException { public void setSchema(String schema) throws SQLException {
if (isClosed()) if (isClosed())
throw new SQLException(CONNECTION_IS_CLOSED); throw new SQLException(CONNECTION_IS_CLOSED);
synchronized (RestfulConnection.class) { synchronized (RestfulConnection.class) {
this.database = schema; this.database = schema;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册