You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2017/07/22 13:46:01 UTC

[jira] [Commented] (KYLIN-2658) Unclosed ResultSet in JdbcExplorer#loadTableMetadata()

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

Shaofeng SHI commented on KYLIN-2658:
-------------------------------------

Fixed in https://github.com/apache/kylin/commit/a2411fb4b0b9dcc36b1d6d4bb227b5a679d09496
Thanks Ted!

> Unclosed ResultSet in JdbcExplorer#loadTableMetadata()
> ------------------------------------------------------
>
>                 Key: KYLIN-2658
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2658
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Shaofeng SHI
>            Priority: Minor
>             Fix For: v2.1.0
>
>
> {code}
>         ResultSet rs = dbmd.getTables(null, database, table, null);
> ...
>         rs = dbmd.getColumns(null, database, table, null);
> {code}
> rs is overwritten without closing the previous instance.



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