[Zope-Checkins] SVN: Zope/trunk/ Updated to use ZODB 3.4a4, featuring savepoints.

Jim Fulton jim at zope.com
Sun Apr 24 00:10:25 EDT 2005


Log message for revision 30133:
  Updated to use ZODB 3.4a4, featuring savepoints.
  

Changed:
  U   Zope/trunk/doc/CHANGES.txt
  _U  Zope/trunk/lib/python/
  U   Zope/trunk/lib/python/Products/ZODBMountPoint/Mount.py

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2005-04-24 03:55:46 UTC (rev 30132)
+++ Zope/trunk/doc/CHANGES.txt	2005-04-24 04:10:25 UTC (rev 30133)
@@ -33,6 +33,10 @@
       - ZCatalog.CatalogBrains: An _unrestrictedGetObject method has
         been added.
 
+      - ZODB transactions now support savepoints. See
+        transaction/savepoint.txt.  These will replace
+        subtransactions.
+
     Bugs fixed
   
       - Collector #1754: Fixed import of 'transaction' in


Property changes on: Zope/trunk/lib/python
___________________________________________________________________
Name: svn:externals
   - zope           svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.0-Zope-2.8-a3/src/zope
BTrees         svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a3/src/BTrees
Persistence    svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a3/src/Persistence
persistent     svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a3/src/persistent
ThreadedAsync  svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a3/src/ThreadedAsync
transaction    svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a3/src/transaction
ZEO            svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a3/src/ZEO
ZODB           svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a3/src/ZODB
ZopeUndo       svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a3/src/ZopeUndo

   + zope           svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.0-Zope-2.8-a3/src/zope
BTrees         svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/BTrees
Persistence    svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/Persistence
persistent     svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/persistent
ThreadedAsync  svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/ThreadedAsync
transaction    svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/transaction
ZEO            svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/ZEO
ZODB           svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/ZODB
ZopeUndo       svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/ZopeUndo


Modified: Zope/trunk/lib/python/Products/ZODBMountPoint/Mount.py
===================================================================
--- Zope/trunk/lib/python/Products/ZODBMountPoint/Mount.py	2005-04-24 03:55:46 UTC (rev 30132)
+++ Zope/trunk/lib/python/Products/ZODBMountPoint/Mount.py	2005-04-24 04:10:25 UTC (rev 30133)
@@ -201,7 +201,9 @@
                         am.closedConnection(conn)
                 conn.cacheGC() # This is a good time to do some GC
                 # XXX maybe we ought to call the close callbacks.
-                conn._storage = conn._tmp = conn.new_oid = conn._opened = None
+                conn._storage = conn._normal_storage = None
+                conn._savepoint_storage = None
+                conn.new_oid = conn._opened = None
                 conn._debug_info = ()
 
                 # collector #1350: ensure that the connection is unregistered



More information about the Zope-Checkins mailing list