Skip to content

Commit d9cbaba

Browse files
authored
Merge pull request #1928 from ClickHouse/improper-closing
Update StatementImpl.java
2 parents 7a52db9 + 510df63 commit d9cbaba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

jdbc-v2/src/main/java/com/clickhouse/jdbc/StatementImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ public int executeUpdate(String sql, QuerySettings settings) throws SQLException
151151
@Override
152152
public void close() throws SQLException {
153153
closed = true;
154-
connection.close();
155154
if (currentResultSet != null) {
156155
currentResultSet.close();
157156
currentResultSet = null;

0 commit comments

Comments
 (0)