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 "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2012/04/24 16:01:36 UTC

[jira] [Updated] (DERBY-5713) AlterTableTest holds on to resources after completion

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

Knut Anders Hatlen updated DERBY-5713:
--------------------------------------

    Attachment: d5713-1a.diff

The attached patch makes AlterTableTest use local variables instead of instance variables so that the cleanup done by BaseJDBCTestCase is sufficient.
                
> AlterTableTest holds on to resources after completion
> -----------------------------------------------------
>
>                 Key: DERBY-5713
>                 URL: https://issues.apache.org/jira/browse/DERBY-5713
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.9.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>         Attachments: d5713-1a.diff
>
>
> AlterTableTest keeps connections, statements and result sets in instance variables, but never clears the variables, so they are kept forever.

--
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