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

PreparedStatement should be closed in JDBCResourceDAO#checkTableExists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v2.5.0
    • Metadata
    • None

    Description

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

      ps should be closed upon return.

      Attachments

        Activity

          People

            shaofengshi Shao Feng Shi
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: