Derby
  1. Derby
  2. DERBY-5712

CheckConstraintTest holds on to resources after completion

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: Test
    • Labels:
      None

      Description

      CheckConstraintTest keeps connections, statements and result sets in instance variables, but never clears the variables, so they are kept forever.

      1. d5712-1a.diff
        11 kB
        Knut Anders Hatlen

        Activity

        Hide
        Knut Anders Hatlen added a comment -

        Committed revision 1330199.

        Show
        Knut Anders Hatlen added a comment - Committed revision 1330199.
        Hide
        Knut Anders Hatlen added a comment -

        The attached patch removes all instance variables in the CheckConstrainTest class and makes it use local variables instead. BaseJDBCTestCase should be able to do all the necessary cleanup for the test now.

        Show
        Knut Anders Hatlen added a comment - The attached patch removes all instance variables in the CheckConstrainTest class and makes it use local variables instead. BaseJDBCTestCase should be able to do all the necessary cleanup for the test now.

          People

          • Assignee:
            Knut Anders Hatlen
            Reporter:
            Knut Anders Hatlen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development