Commit aa982b20 authored by Tim Peters's avatar Tim Peters

Merge rev 30798 from 3.4 branch.

Forward port from 2.7 branch.

UndoSearch._readnext():  Add the transaction size to the return value.
parent af190d39
...@@ -5,9 +5,9 @@ Release date: DD-MMM-2005 ...@@ -5,9 +5,9 @@ Release date: DD-MMM-2005
Following is combined news from "internal releases" (to support ongoing Following is combined news from "internal releases" (to support ongoing
Zope3 development). These are the dates of the internal releases: Zope3 development). These are the dates of the internal releases:
- 3.5a2 DD-MMM-2005
- 3.5a1 10-Jun-2005 - 3.5a1 10-Jun-2005
Multi-database Multi-database
-------------- --------------
...@@ -15,6 +15,31 @@ Multi-database ...@@ -15,6 +15,31 @@ Multi-database
been added. See ``ZODB/cross-database-references.txt`` for an been added. See ``ZODB/cross-database-references.txt`` for an
introduction. 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? What's new in ZODB3 3.4?
======================== ========================
......
...@@ -2088,6 +2088,7 @@ class UndoSearch: ...@@ -2088,6 +2088,7 @@ class UndoSearch:
d = {'id': base64.encodestring(tid).rstrip(), d = {'id': base64.encodestring(tid).rstrip(),
'time': TimeStamp(tid).timeTime(), 'time': TimeStamp(tid).timeTime(),
'user_name': u, 'user_name': u,
'size': tl,
'description': d} 'description': d}
d.update(e) d.update(e)
return d return d
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment