You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shengping (JIRA)" <ji...@apache.org> on 2017/11/10 15:28:00 UTC
[jira] [Updated] (KYLIN-2975) Unclosed Statement in test
[ https://issues.apache.org/jira/browse/KYLIN-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shengping updated KYLIN-2975:
-----------------------------
Attachment: KYLIN-2975.patch
fix unclosed statement in test
> 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
> 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)