Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-468

Connection leak in JDBCDriver.estimate path

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.1
    • 2.1
    • driver-jdbc
    • None

    Description

      JDBCDriver.prepareInternal takes a ready made connection, and does rewrite followed by prepared statement on the rewritten query. If rewrite throws an exception, the connection is not closed.

      Attachments

        1. rb32614.patch
          5 kB
          Jaideep Dhok

        Activity

          People

            jaideepdhok Jaideep Dhok
            jaideepdhok Jaideep Dhok
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: