Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-800

Using a closed {Cursor,Session,Connection} handle in Python

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.1
    • Affects Version/s: None
    • Component/s: None
    • None

      will not crash the VM on use. ref WT-485

      Uses the event callback for close to give notification on close
      of a handle. For explicit calls to close(), we set the SWIG 'this'
      attribute on the containing object to None.

      On uses of a handle as an input argument, we check to see if it is
      None, or if its 'this' attribute is None, and issue the
      appropriate exception.

      Includes a set of test cases that parallel Java test cases for the same.

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: