You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Jrex Ge (JIRA)" <ji...@apache.org> on 2017/09/26 03:03:00 UTC

[jira] [Commented] (KYLIN-2835) Unclosed resources in JdbcExplorer

    [ https://issues.apache.org/jira/browse/KYLIN-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180141#comment-16180141 ] 

Jrex Ge commented on KYLIN-2835:
--------------------------------

https://github.com/apache/kylin/pull/74

> Unclosed resources in JdbcExplorer
> ----------------------------------
>
>                 Key: KYLIN-2835
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2835
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>
> In loadTableMetadata():
> {code}
>         Connection con = SqlUtil.getConnection(dbconf);
> {code}
> The Connection should be closed upon return.
> {code}
>         ResultSet rs = dbmd.getTables(null, database, table, null);
> {code}
> The ResultSet should be closed upon return.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)