kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KYLIN-3557) PreparedStatement should be closed in JDBCResourceDAO#checkTableExists
Date Wed, 12 Sep 2018 06:40:00 GMT

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

Shaofeng SHI resolved KYLIN-3557.
---------------------------------
    Resolution: Fixed

> 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)

Mime
View raw message