[ https://issues.apache.org/jira/browse/CALCITE-6207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17807131#comment-17807131 ]
xy edited comment on CALCITE-6207 at 1/16/24 9:23 AM: ------------------------------------------------------ [~julianhyde] Currently the logic would double check whether connection is closed and this is not fitable ,refractor it with block is better was (Author: xuzifu): [~julianhyde] Currently the logic would double judge whether connection is closed and this is not fitable ,refractor it with block is better > Improve connection resource in JDBCUtils > ---------------------------------------- > > Key: CALCITE-6207 > URL: https://issues.apache.org/jira/browse/CALCITE-6207 > Project: Calcite > Issue Type: Improvement > Components: core > Affects Versions: 1.36.0 > Reporter: xy > Priority: Major > Labels: pull-request-available > > Improve JDBC connection resource in JDBCUtils: not need multiple judge > connection whether close -- This message was sent by Atlassian Jira (v8.20.10#820010)