[Zodb-checkins] SVN: ZODB/trunk/ Merge rev 30798 from 3.4 branch.

Tim Peters tim.one at comcast.net
Tue Jun 14 17:48:46 EDT 2005


Log message for revision 30799:
  Merge rev 30798 from 3.4 branch.
  
  Forward port from 2.7 branch.
  
  UndoSearch._readnext():  Add the transaction size to the return value.
  

Changed:
  U   ZODB/trunk/NEWS.txt
  U   ZODB/trunk/src/ZODB/FileStorage/FileStorage.py

-=-
Modified: ZODB/trunk/NEWS.txt
===================================================================
--- ZODB/trunk/NEWS.txt	2005-06-14 21:44:08 UTC (rev 30798)
+++ ZODB/trunk/NEWS.txt	2005-06-14 21:48:45 UTC (rev 30799)
@@ -5,9 +5,9 @@
 Following is combined news from "internal releases" (to support ongoing
 Zope3 development).  These are the dates of the internal releases:
 
+- 3.5a2 DD-MMM-2005
 - 3.5a1 10-Jun-2005
 
-
 Multi-database
 --------------
 
@@ -15,7 +15,32 @@
   been added.  See ``ZODB/cross-database-references.txt`` for an
   introduction.
 
+FileStorage.UndoSearch
+----------------------
 
+- (3.5a2) The ``_readnext()`` method now returns the transaction size as
+  the value of the "size" key.  Thanks to Dieter Maurer for the patch, from
+  http://mail.zope.org/pipermail/zodb-dev/2003-October/006157.html. "This is
+  very valuable when you want to spot strange transaction sizes via Zope's
+  'Undo' tab".
+
+
+What's new in ZODB3 3.4a1?
+==========================
+Release date: DD-MMM-2005
+
+-3.4.1a1 DD-MMM-2005
+
+FileStorage.UndoSearch
+----------------------
+
+- (3.4.1a1) The ``_readnext()`` method now returns the transaction size as
+  the value of the "size" key.  Thanks to Dieter Maurer for the patch, from
+  http://mail.zope.org/pipermail/zodb-dev/2003-October/006157.html. "This is
+  very valuable when you want to spot strange transaction sizes via Zope's
+  'Undo' tab".
+
+
 What's new in ZODB3 3.4?
 ========================
 Release date: 09-Jun-2005

Modified: ZODB/trunk/src/ZODB/FileStorage/FileStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/FileStorage/FileStorage.py	2005-06-14 21:44:08 UTC (rev 30798)
+++ ZODB/trunk/src/ZODB/FileStorage/FileStorage.py	2005-06-14 21:48:45 UTC (rev 30799)
@@ -2088,6 +2088,7 @@
         d = {'id': base64.encodestring(tid).rstrip(),
              'time': TimeStamp(tid).timeTime(),
              'user_name': u,
+             'size': tl,
              'description': d}
         d.update(e)
         return d



More information about the Zodb-checkins mailing list