Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
ZODB
Commits
c2ac982c
Commit
c2ac982c
authored
21 years ago
by
Jeremy Hylton
Browse files
Options
Download
Email Patches
Plain Diff
Revert previous checkin: It doesn't work for ZEO.
parent
d31fda3c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/ZODB/tests/PackableStorage.py
src/ZODB/tests/PackableStorage.py
+6
-5
No files found.
src/ZODB/tests/PackableStorage.py
View file @
c2ac982c
...
...
@@ -474,12 +474,13 @@ class PackableUndoStorage(PackableStorageBase):
packt2
=
time
.
time
()
db
.
pack
(
packt2
)
if
isinstance
(
self
.
_storage
,
FileStorage
):
# If FileStorage performed a redundant pack, it would
# remove the lost_oid.
self
.
assertRaises
(
StorageError
,
db
.
pack
,
packt1
)
else
:
# BDBStorage allows the second pack, but doesn't lose data.
try
:
db
.
pack
(
packt1
)
except
StorageError
:
pass
# This object would be removed by the second pack, even though
# it is reachable.
self
.
_storage
.
load
(
lost_oid
,
""
)
def
checkPackUndoLog
(
self
):
...
...
This diff is collapsed.
Click to expand it.
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