Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
2a15ae7f
Commit
2a15ae7f
authored
Aug 31, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the msg generated when an oid isn't found.
parent
d75be398
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
trunk/src/ZODB/tests/testfsoids.py
trunk/src/ZODB/tests/testfsoids.py
+5
-5
No files found.
trunk/src/ZODB/tests/testfsoids.py
View file @
2a15ae7f
...
...
@@ -44,11 +44,11 @@ There's not a lot interesting in an empty DB!
>>> t.run()
>>> t.report()
oid 0x00 <unknown> 0 revisions
this oid was n
either defined nor referenced
this oid was n
ot defined (no data record for it found)
oid 0x01 <unknown> 0 revisions
this oid was n
either defined nor referenced
this oid was n
ot defined (no data record for it found)
oid 0x123456 <unknown> 0 revisions
this oid was n
either defined nor referenced
this oid was n
ot defined (no data record for it found)
That didn't tell us much, but does show that the specified oids are sorted
into increasing order.
...
...
@@ -65,7 +65,7 @@ oid 0x00 persistent.mapping.PersistentMapping 1 revision
tid description='initial database creation'
new revision persistent.mapping.PersistentMapping at 52
oid 0x01 <unknown> 0 revisions
this oid was n
either defined nor referenced
this oid was n
ot defined (no data record for it found)
So we see oid 0 has been used in our one transaction, and that it was created
there, and is a PersistentMapping. 4 is the file offset to the start of the
...
...
@@ -151,7 +151,7 @@ oid 0x01 BTrees._OOBTree.OOBTree 2 revisions
new revision BTrees._OOBTree.OOBTree at 491
references 0x00 <unknown> at 491
oid 0x02 <unknown> 0 revisions
this oid was n
either defined nor referenced
this oid was n
ot defined (no data record for it found)
Note that we didn't create any new object there (oid 2 is still unused), we
just made oid 1 refer to oid 0. Therefore there's a new "new revision" line
...
...
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