kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KYLIN-3557) PreparedStatement should be closed in JDBCResourceDAO#checkTableExists
Date Tue, 11 Sep 2018 21:34:00 GMT
Ted Yu created KYLIN-3557:
-----------------------------

             Summary: PreparedStatement should be closed in JDBCResourceDAO#checkTableExists
                 Key: KYLIN-3557
                 URL: https://issues.apache.org/jira/browse/KYLIN-3557
             Project: Kylin
          Issue Type: Bug
            Reporter: Ted Yu


{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