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 15:57:35 UTC

[jira] [Created] (DERBY-5714) ColumnDefaultsTest holds on to resources after completion

Knut Anders Hatlen created DERBY-5714:
-----------------------------------------

             Summary: ColumnDefaultsTest holds on to resources after completion
                 Key: DERBY-5714
                 URL: https://issues.apache.org/jira/browse/DERBY-5714
             Project: Derby
          Issue Type: Bug
          Components: Test
    Affects Versions: 10.9.0.0
            Reporter: Knut Anders Hatlen
            Assignee: Knut Anders Hatlen


ColumnDefaultsTest 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

        

[jira] [Updated] (DERBY-5714) ColumnDefaultsTest holds on to resources after completion

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen updated DERBY-5714:
--------------------------------------

    Issue & fix info: Patch Available
    
> ColumnDefaultsTest holds on to resources after completion
> ---------------------------------------------------------
>
>                 Key: DERBY-5714
>                 URL: https://issues.apache.org/jira/browse/DERBY-5714
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.9.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>         Attachments: d5714-1a.diff
>
>
> ColumnDefaultsTest 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

        

[jira] [Updated] (DERBY-5714) ColumnDefaultsTest holds on to resources after completion

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen updated DERBY-5714:
--------------------------------------

    Attachment: d5714-1a.diff

The attached patch makes the test use local variables instead of instance variables and lets BaseJDBCTestCase do the cleanup.
                
> ColumnDefaultsTest holds on to resources after completion
> ---------------------------------------------------------
>
>                 Key: DERBY-5714
>                 URL: https://issues.apache.org/jira/browse/DERBY-5714
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.9.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>         Attachments: d5714-1a.diff
>
>
> ColumnDefaultsTest 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

        

[jira] [Closed] (DERBY-5714) ColumnDefaultsTest holds on to resources after completion

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen closed DERBY-5714.
-------------------------------------

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

Committed revision 1330201.
                
> ColumnDefaultsTest holds on to resources after completion
> ---------------------------------------------------------
>
>                 Key: DERBY-5714
>                 URL: https://issues.apache.org/jira/browse/DERBY-5714
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.9.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>             Fix For: 10.9.0.0
>
>         Attachments: d5714-1a.diff
>
>
> ColumnDefaultsTest 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