[ZODB-Dev] Savepoints are invalidated once they are used
Dieter Maurer
dieter at handshake.de
Thu Jul 14 16:34:44 EDT 2005
Jeremy Hylton wrote at 2005-7-11 18:37 -0700:
>IIRC, the old implementation of savepoints kept a copy of the index at
>the time the savepoint was taken so that you could rollback to it
>multiple times. I don't think there's any way to avoid such a copy.
Maybe, we keep the original implementation (a savepoint restore
deletes this savepoint) and update the docstring?
It is rare that we need to keep the savepoint.
If we do, we can (usually) create a one with the state
after the "restore".
--
Dieter
More information about the ZODB-Dev
mailing list