Derby
  1. Derby
  2. DERBY-5759

Add IndexStatsUtil.release(boolean closeConnection)

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: Test
    • Labels:
      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.

        Activity

        Gavin made changes -
        Workflow jira [ 12666979 ] Default workflow, editable Closed status [ 12797047 ]
        Kristian Waagan made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Issue & fix info Patch Available [ 10102 ]
        Fix Version/s 10.9.0.0 [ 12316344 ]
        Resolution Fixed [ 1 ]
        Hide
        Kristian Waagan added a comment -

        Thanks, Dag.

        Committed to trunk with revision 1338068.

        Show
        Kristian Waagan added a comment - Thanks, Dag. Committed to trunk with revision 1338068.
        Hide
        Dag H. Wanvik added a comment -

        Looks straight forward enough. +1

        Show
        Dag H. Wanvik added a comment - Looks straight forward enough. +1
        Kristian Waagan made changes -
        Field Original Value New Value
        Attachment derby-5759-1a-release_with_arg.diff [ 12526507 ]
        Hide
        Kristian Waagan added a comment -

        Attaching patch 1a, which adds a release(boolean) method.

        Patch ready for review.

        Show
        Kristian Waagan added a comment - Attaching patch 1a, which adds a release(boolean) method. Patch ready for review.
        Kristian Waagan created issue -

          People

          • Assignee:
            Kristian Waagan
            Reporter:
            Kristian Waagan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development