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

Unclosed PreparedStatement in QueryService#getPrepareOnlySqlResponse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v2.1.0
    • None
    • None

    Description

              try {
                  conn.prepareStatement(correctedSql);
                  throw new IllegalStateException("Should have thrown OnlyPrepareEarlyAbortException");
      

      The return value of prepareStatement() may leak if there is no exception from the call.

      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: