You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/09/12 02:02:00 UTC

[jira] [Commented] (KYLIN-3557) PreparedStatement should be closed in JDBCResourceDAO#checkTableExists

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

ASF subversion and git services commented on KYLIN-3557:
--------------------------------------------------------

Commit 0c43dc7133f065cf685e6284f6b5af77fe2cd619 in kylin's branch refs/heads/2.5.x from shaofengshi
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=0c43dc7 ]

KYLIN-3557 PreparedStatement not closed in JDBCResourceDAO


> PreparedStatement should be closed in JDBCResourceDAO#checkTableExists
> ----------------------------------------------------------------------
>
>                 Key: KYLIN-3557
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3557
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>            Reporter: Ted Yu
>            Assignee: Shaofeng SHI
>            Priority: Minor
>             Fix For: v2.5.0
>
>
> {code}
>                 final PreparedStatement ps = connection.prepareStatement(getCheckTableExistsSql(tableName));
>                 final ResultSet rs = ps.executeQuery();
> {code}
> {{ps}} should be closed upon return.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)