提交 49d7e298 编写于 作者: Z zyyang

change

上级 e3be9654
...@@ -80,12 +80,8 @@ public class TSDBStatement extends AbstractStatement { ...@@ -80,12 +80,8 @@ public class TSDBStatement extends AbstractStatement {
public void close() throws SQLException { public void close() throws SQLException {
if (!isClosed) { if (!isClosed) {
//TODO:check if connector need to store resultSetPointer if (this.resultSet != null)
// this.connector.freeResultSet(resultSet.getResultSetPointer()); this.resultSet.close();
this.resultSet.close();
// if (!this.connector.isResultsetClosed()) {
// this.connector.freeResultSet();
// }
isClosed = true; isClosed = true;
} }
} }
...@@ -179,9 +175,9 @@ public class TSDBStatement extends AbstractStatement { ...@@ -179,9 +175,9 @@ public class TSDBStatement extends AbstractStatement {
int[] res = new int[batchedArgs.size()]; int[] res = new int[batchedArgs.size()];
for (int i = 0; i < batchedArgs.size(); i++) { for (int i = 0; i < batchedArgs.size(); i++) {
boolean isSelect = execute(batchedArgs.get(i)); boolean isSelect = execute(batchedArgs.get(i));
if (isSelect){ if (isSelect) {
res[i] = SUCCESS_NO_INFO; res[i] = SUCCESS_NO_INFO;
}else { } else {
res[i] = getUpdateCount(); res[i] = getUpdateCount();
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册