Derby
  1. Derby
  2. DERBY-5714

ColumnDefaultsTest 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

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

      1. d5714-1a.diff
        5 kB
        Knut Anders Hatlen

        Activity

        Hide
        Knut Anders Hatlen added a comment -

        The attached patch makes the test use local variables instead of instance variables and lets BaseJDBCTestCase do the cleanup.

        Show
        Knut Anders Hatlen added a comment - The attached patch makes the test use local variables instead of instance variables and lets BaseJDBCTestCase do the cleanup.
        Hide
        Knut Anders Hatlen added a comment -

        Committed revision 1330201.

        Show
        Knut Anders Hatlen added a comment - Committed revision 1330201.

          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