• Tim Peters's avatar
    Merge Jim's savepoint/rollback work from the 3.4 branch. Yay! · 646b2b33
    Tim Peters authored
    Original checkin msgs follow:
    
    r30131 | jim | 2005-04-23 23:33:29 -0400 (Sat, 23 Apr 2005) | 5 lines
       M /ZODB/branches/3.4/src/ZODB/Connection.py
       M /ZODB/branches/3.4/src/ZODB/tests/testConnectionSavepoint.py
    
    Fixed a bug in commits with savepoints and changes since savepoints.
    Once we start using savepoints, we need to make sure that all data are
    committed through the savepoints. Otherwise, things can get committed
    in the wrong order, leading to conflicts.
    
    r30130 | jim | 2005-04-23 23:02:00 -0400 (Sat, 23 Apr 2005) | 6 lines
       M /ZODB/branches/3.4/src/ZODB/Connection.py
       M /ZODB/branches/3.4/src/ZODB/tests/testConnectionSavepoint.py
    
    Fixed a bug that caused assertion errors if an object was added in a
    savepoint, then modified and then aborted.
    
    Also added missing code to clear registered objects when a savepoint
    was rolled back.
    
    r30129 | jim | 2005-04-23 21:29:02 -0400 (Sat, 23 Apr 2005) | 5 lines
       M /ZODB/branches/3.4/src/ZODB/Connection.py
       D /ZODB/branches/3.4/src/ZODB/TmpStore.py
       M /ZODB/branches/3.4/src/ZODB/tests/testConnection.py
       A /ZODB/branches/3.4/src/ZODB/tests/testConnectionSavepoint.py
       A /ZODB/branches/3.4/src/ZODB/tests/testConnectionSavepoint.txt
       M /ZODB/branches/3.4/src/ZODB/tests/testZODB.py
       M /ZODB/branches/3.4/src/ZODB/tests/test_datamanageradapter.py
       M /ZODB/branches/3.4/src/transaction/__init__.py
       M /ZODB/branches/3.4/src/transaction/_manager.py
       M /ZODB/branches/3.4/src/transaction/_transaction.py
       M /ZODB/branches/3.4/src/transaction/interfaces.py
       A /ZODB/branches/3.4/src/transaction/savepoint.txt
       A /ZODB/branches/3.4/src/transaction/tests/savepointsample.py
       M /ZODB/branches/3.4/src/transaction/tests/test_register_compat.py
       A /ZODB/branches/3.4/src/transaction/tests/test_savepoint.py
    
    Added savepoints!
    
    (And also added interfaces and rearranged some code to hopefully make
    it easier to read.)
    
    r30128 | jim | 2005-04-23 21:28:59 -0400 (Sat, 23 Apr 2005) | 2 lines
       M /ZODB/branches/3.4/src/transaction/tests/test_transaction.py
    
    Removed some tests that son't make sense after the savepoont refactoring
    
    r30127 | jim | 2005-04-23 21:28:57 -0400 (Sat, 23 Apr 2005) | 2 lines
       M /ZODB/branches/3.4/src/persistent/interfaces.py
    
    Commented out mtime
    646b2b33
savepoint.txt 6.1 KB