[svn] Repository:
ViewVC logotype

Revision 30136


Jump to revision: Previous Next
Author: tim_one
Date: Sun Apr 24 05:13:15 2005 UTC (8 years, 11 months ago)
Log Message:
Merge Jim's savepoint/rollback work from the 3.4 branch.  Yay!

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

Changed paths:

Path Details
DirectoryZODB/trunk/src/ZODB/Connection.py modified , text changed
DirectoryZODB/trunk/src/ZODB/TmpStore.py deleted
DirectoryZODB/trunk/src/ZODB/tests/testConnection.py modified , text changed
DirectoryZODB/trunk/src/ZODB/tests/testConnectionSavepoint.py
(Copied from ZODB/branches/3.4/src/ZODB/tests/testConnectionSavepoint.py, r30131)
added
DirectoryZODB/trunk/src/ZODB/tests/testConnectionSavepoint.txt
(Copied from ZODB/branches/3.4/src/ZODB/tests/testConnectionSavepoint.txt, r30131)
added
DirectoryZODB/trunk/src/ZODB/tests/testZODB.py modified , text changed
DirectoryZODB/trunk/src/ZODB/tests/test_datamanageradapter.py modified , text changed
DirectoryZODB/trunk/src/persistent/interfaces.py modified , text changed
DirectoryZODB/trunk/src/transaction/__init__.py modified , text changed
DirectoryZODB/trunk/src/transaction/_manager.py modified , text changed
DirectoryZODB/trunk/src/transaction/_transaction.py modified , text changed
DirectoryZODB/trunk/src/transaction/interfaces.py modified , text changed
DirectoryZODB/trunk/src/transaction/savepoint.txt
(Copied from ZODB/branches/3.4/src/transaction/savepoint.txt, r30131)
added
DirectoryZODB/trunk/src/transaction/tests/savepointsample.py
(Copied from ZODB/branches/3.4/src/transaction/tests/savepointsample.py, r30131)
added
DirectoryZODB/trunk/src/transaction/tests/test_register_compat.py modified , text changed
DirectoryZODB/trunk/src/transaction/tests/test_savepoint.py
(Copied from ZODB/branches/3.4/src/transaction/tests/test_savepoint.py, r30131)
added
DirectoryZODB/trunk/src/transaction/tests/test_transaction.py modified , text changed

zope.org Infrastructure
ViewVC Help
Powered by ViewVC 1.0.3