1. 01 Apr, 2003 8 commits
  2. 31 Mar, 2003 2 commits
    • Jeremy Hylton's avatar
      1f86dd15
    • Jeremy Hylton's avatar
      Fix several ref count bugs. · fd95c5af
      Jeremy Hylton authored
      Remove object_from_oid() which appeared to be mis-used about half the
      time.  Instead use std PyDict_GetItem() and incref only when
      necessary.
      
      Make sure an object's reference to its cache is decref'd when the
      object is deallocated.  This change seems to eliminate leaking pickle
      caches.
      
      Remaining mystery: Why do objects stay in the cache even when there
      are no references to them?
      fd95c5af
  3. 26 Mar, 2003 1 commit
  4. 25 Mar, 2003 2 commits
  5. 24 Mar, 2003 7 commits
  6. 21 Mar, 2003 1 commit
  7. 20 Mar, 2003 1 commit
    • Jeremy Hylton's avatar
      Change prepare() signature in IDataManager. · be351a5e
      Jeremy Hylton authored
      The manager should raise an exception in its prepare() method rather
      than returning a boolean to indicate failure.  Rationale: The txn
      manager can't raise a reasonable exception, because it doesn't know
      what the data manager couldn't prepare.
      be351a5e
  8. 17 Mar, 2003 10 commits
  9. 16 Mar, 2003 1 commit
  10. 13 Mar, 2003 1 commit
  11. 10 Mar, 2003 2 commits
  12. 07 Mar, 2003 4 commits
    • Jeremy Hylton's avatar
      Catch errors that current during 2nd phase of 2PC. · 61f58489
      Jeremy Hylton authored
      It's not clear what the right answer is here.  The implementation
      aborts any remaining resource managers and hopes for the best, which
      isn't very satisfying.  Perhaps the hosed feature should come back.
      
      Add some comments about the issues involved.  Revise the tests to
      cover the current behavior.
      61f58489
    • Jeremy Hylton's avatar
      7b9e4469
    • Jeremy Hylton's avatar
      Add IllegalStateError calls to prevent assertions from failing. · 1248b5dd
      Jeremy Hylton authored
      XXX Should the manager duplicate these checks?
      1248b5dd
    • Jeremy Hylton's avatar
      A bunch of small fixes. · d35cc16d
      Jeremy Hylton authored
      Make txn_factory an attribute of the base class.
      
      Raise an exception when prepare() returns False, rather than
      automatically aborting.
      
      Pass transaction object to Rollback() so that rollback() method can
      check state of transaction.
      
      Add IllegalStateError calls to prevent assertions from failing.
      XXX Should the manager duplicate these checks?
      
      Add suspend() and resume() to non-threaded txn manager.
      
      Fix bug that caused threaded suspend() to fail with KeyError for
      thread with no current transaction.
      d35cc16d