Commit 7308aedf authored by Jim Fulton's avatar Jim Fulton

Bug fixed:

The interface, ZODB.interfaces.IStorage was incorrect. The store
  method should never return a sequence of oid and serial pairs.
parent b12b1016
......@@ -18,6 +18,8 @@ Bugs fixed
3.10.0b5.) Invalidating read data when there is a conflict error
provides some extra insurance.
- The interface, ZODB.interfaces.IStorage was incorrect. The store
method should never return a sequence of oid and serial pairs.
3.10.0b5 (2010-09-02)
=====================
......
......@@ -680,15 +680,14 @@ class IStorage(Interface):
The return value may be:
- None
- None, or
- A new serial (string) for the object, or
- A new serial (string) for the object
- An iterable of object-id and serial pairs giving new serials
for objects.
If None is returned, then a new serial (or other special
values) must ve returned in tpc_vote results.
A serial, returned as a string or in a sequence of oid/serial
pairs, may be the special value
A serial, returned as a string, may be the special value
ZODB.ConflictResolution.ResolvedSerial to indicate that a
conflict occured and that the object should be invalidated.
......
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