提交 8252b436 编写于 作者: Z zyyang

change

上级 bf465285
...@@ -80,13 +80,13 @@ public class TSDBConnection implements Connection { ...@@ -80,13 +80,13 @@ public class TSDBConnection implements Connection {
} }
public Statement createStatement() throws SQLException { public Statement createStatement() throws SQLException {
if (!this.connector.isClosed()) { // if (!this.connector.isClosed()) {
TSDBStatement statement = new TSDBStatement(this, this.connector); TSDBStatement statement = new TSDBStatement(this, this.connector);
statement.setConnection(this); statement.setConnection(this);
return statement; return statement;
} else { // } else {
throw new SQLException(TSDBConstants.FixErrMsg(TSDBConstants.JNI_CONNECTION_NULL)); // throw new SQLException(TSDBConstants.FixErrMsg(TSDBConstants.JNI_CONNECTION_NULL));
} // }
} }
public TSDBSubscribe subscribe(String topic, String sql, boolean restart) throws SQLException { public TSDBSubscribe subscribe(String topic, String sql, boolean restart) throws SQLException {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册