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

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

     [ https://issues.apache.org/jira/browse/KYLIN-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

liyang resolved KYLIN-2835.
---------------------------
       Resolution: Fixed
    Fix Version/s: v2.3.0

> Unclosed resources in JdbcExplorer
> ----------------------------------
>
>                 Key: KYLIN-2835
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2835
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>             Fix For: v2.3.0
>
>
> 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)