You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <ji...@apache.org> on 2012/05/14 10:54:49 UTC

[jira] [Closed] (DERBY-5759) Add IndexStatsUtil.release(boolean closeConnection)

     [ https://issues.apache.org/jira/browse/DERBY-5759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan closed DERBY-5759.
----------------------------------

          Resolution: Fixed
       Fix Version/s: 10.9.0.0
    Issue & fix info:   (was: Patch Available)

Thanks, Dag.

Committed to trunk with revision 1338068.
                
> Add IndexStatsUtil.release(boolean closeConnection)
> ---------------------------------------------------
>
>                 Key: DERBY-5759
>                 URL: https://issues.apache.org/jira/browse/DERBY-5759
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>             Fix For: 10.9.0.0
>
>         Attachments: derby-5759-1a-release_with_arg.diff
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira