Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3557

PreparedStatement should be closed in JDBCResourceDAO#checkTableExists

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2.5.0
    • Component/s: Metadata
    • Labels:
      None

      Description

                      final PreparedStatement ps = connection.prepareStatement(getCheckTableExistsSql(tableName));
                      final ResultSet rs = ps.executeQuery();
      

      ps should be closed upon return.

        Attachments

          Activity

            People

            • Assignee:
              shaofengshi Shao Feng Shi
              Reporter:
              yuzhihong@gmail.com Ted Yu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment