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 "Dag H. Wanvik (JIRA)" <ji...@apache.org> on 2013/06/25 09:53:19 UTC

[jira] [Created] (DERBY-6274) Possibly wrong code in DependentResultSet#close

Dag H. Wanvik created DERBY-6274:
------------------------------------

             Summary: Possibly wrong code in DependentResultSet#close
                 Key: DERBY-6274
                 URL: https://issues.apache.org/jira/browse/DERBY-6274
             Project: Derby
          Issue Type: Bug
          Components: SQL
            Reporter: Dag H. Wanvik


The code in #close, checks on the local member "isOpen" to close the "source" result set.
The "isOpen" is never assigned and shadows another isOpen.  Since it's never set to true, even when source is being opened, "source" is never closed either..

I am not sure what impact this would have, but it would be good to look into it.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira