Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5759

Add IndexStatsUtil.release(boolean closeConnection)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.9.1.0
    • 10.9.1.0
    • Test
    • None

    Description

      IndexStatsUtil already has a method called release that takes no arguments. It closes the connection, which can be a problem in cases where the util shares the connection with someone else.

      I propose to add the method release(boolean closeConnection).
      Note that the util still requires the connection to be auto-commit mode.

      Attachments

        1. derby-5759-1a-release_with_arg.diff
          1 kB
          Kristian Waagan

        Activity

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: