Skip to content

Commit 680c78a

Browse files
committed
fix: close presign stmt finally
1 parent 503a97a commit 680c78a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

databend-jdbc/src/main/java/com/databend/jdbc/PresignContext.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ public static PresignContext getPresignContext(DatabendConnection connection, Pr
6868
}
6969
}
7070
throw e;
71+
} finally {
72+
statement.close();
7173
}
7274
}
7375

0 commit comments

Comments
 (0)