Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
21fc4cb4
Commit
21fc4cb4
authored
Apr 08, 2003
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_doabort(): Watch out for a missing pickle revision, which may be the
case if we're aborting e.g. a transactional undo.
parent
5913ce6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lib/python/BDBStorage/BDBFullStorage.py
lib/python/BDBStorage/BDBFullStorage.py
+5
-2
No files found.
lib/python/BDBStorage/BDBFullStorage.py
View file @
21fc4cb4
...
...
@@ -14,7 +14,7 @@
"""Berkeley storage with full undo and versioning support.
$Revision: 1.
69
$
$Revision: 1.
70
$
"""
import
time
...
...
@@ -338,7 +338,10 @@ class BDBFullStorage(BerkeleyBase, ConflictResolvingStorage):
revid
=
oid
+
tid
vid
=
self
.
_metadata
[
revid
][:
8
]
self
.
_metadata
.
delete
(
revid
,
txn
=
txn
)
self
.
_pickles
.
delete
(
revid
,
txn
=
txn
)
try
:
self
.
_pickles
.
delete
(
revid
,
txn
=
txn
)
except
db
.
DBNotFoundError
:
pass
# Clean up the object revisions table
try
:
cr
.
set
(
oid
+
tid
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment