You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Dong Li (JIRA)" <ji...@apache.org> on 2017/11/12 12:48:01 UTC

[jira] [Resolved] (KYLIN-2975) Unclosed Statement in test

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

Dong Li resolved KYLIN-2975.
----------------------------
       Resolution: Fixed
    Fix Version/s: v2.3.0

Thanks Shengping. Patch merged to master branch.

> Unclosed Statement in test
> --------------------------
>
>                 Key: KYLIN-2975
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2975
>             Project: Kylin
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Shengping
>            Priority: Minor
>             Fix For: v2.3.0
>
>         Attachments: KYLIN-2975.patch
>
>
> Some Statement resource is not closed in tests.
> e.g. from QuerACLTestUtil.java :
> {code}
>         Statement statement = conn.createStatement();
>         return statement.executeQuery(sql);
> {code}
> The statement should be closed after use.



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