-
Tim Peters authored
Original checkin comments follow: r30168 | tim_one | 2005-04-25 14:17:37 -0400 (Mon, 25 Apr 2005) | 2 lines M /ZODB/branches/3.4/NEWS.txt ... An internal 3.4a5 release, to incorporate savepoint fixes. r30165 | jim | 2005-04-25 12:29:28 -0400 (Mon, 25 Apr 2005) | 11 lines M /ZODB/branches/3.4/src/transaction/_transaction.py M /ZODB/branches/3.4/src/transaction/savepoint.txt M /ZODB/branches/3.4/src/transaction/tests/test_savepoint.py Fixed a bug in savepoint rollback. It's not enough to rollback just the savepoint being rolled back because later savepoints might involved data managers that hadn't joined when the savepoint being rolled back was created. Now, when a data manager joins and we have savepoints, we create a data manager savepoint for the new data manager and add the datamanager savepoint to all previous transaction savepoints. Note that this data manager savepoint can be a special savepoint that just calls abort on the data manager when it is rolled back. r30164 | tim_one | 2005-04-25 11:16:20 -0400 (Mon, 25 Apr 2005) | 2 lines r30163 | tim_one | 2005-04-25 11:08:37 -0400 (Mon, 25 Apr 2005) | 2 lines r30162 | tim_one | 2005-04-25 11:06:51 -0400 (Mon, 25 Apr 2005) | 2 lines M /ZODB/branches/3.4/src/transaction/interfaces.py Grammar, spelling, English. Close unterminated sentences. Trim trailing whitespace. r30161 | jim | 2005-04-25 10:51:16 -0400 (Mon, 25 Apr 2005) | 10 lines M /ZODB/branches/3.4/src/transaction/interfaces.py Removed a "self" argument. self is normally not shown in interfaces. Removed the freeme argument. This argument is part of the implementation, not the public interface. Removed the subtransaction argument. Although it is still supported, it isn't part of the pblic interface. Added missing documentation of the savepoint method. r30160 | jim | 2005-04-25 10:41:08 -0400 (Mon, 25 Apr 2005) | 2 lines M /ZODB/branches/3.4/src/transaction/interfaces.py Removed some stale discussion of subtransactions. r30147 | jim | 2005-04-24 11:26:39 -0400 (Sun, 24 Apr 2005) | 7 lines M /ZODB/branches/3.4/src/transaction/_transaction.py M /ZODB/branches/3.4/src/transaction/savepoint.txt Make transactions uncommitable if savepoint rollback fails. Added demonstration of transaction non-commitability after savepoint or savepoint rollback failure. Updated "previous commit failed" error to "previous operation failed". r30146 | jim | 2005-04-24 11:26:37 -0400 (Sun, 24 Apr 2005) | 5 lines M /ZODB/branches/3.4/src/ZODB/Connection.py M /ZODB/branches/3.4/src/transaction/interfaces.py M /ZODB/branches/3.4/src/transaction/tests/savepointsample.py Refined interfaces to distinguish between data-manager savepoints and transaction savepoints. Updated some interface declarations. r30145 | jim | 2005-04-24 10:48:15 -0400 (Sun, 24 Apr 2005) | 2 lines M /ZODB/branches/3.4/src/ZODB/tests/testConnectionSavepoint.py added explanatory text r30144 | jim | 2005-04-24 10:35:49 -0400 (Sun, 24 Apr 2005) | 2 lines Changed paths: M /ZODB/branches/3.4/NEWS.txt Updated to reflect savepoints.
1a89a090