Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
276c5f64
Commit
276c5f64
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
c300db1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/ZODB/tests/testfsoids.py
src/ZODB/tests/testfsoids.py
+5
-5
No files found.
src/ZODB/tests/testfsoids.py
View file @
276c5f64
...
@@ -44,11 +44,11 @@ There's not a lot interesting in an empty DB!
...
@@ -44,11 +44,11 @@ There's not a lot interesting in an empty DB!
>>> t.run()
>>> t.run()
>>> t.report()
>>> t.report()
oid 0x00 <unknown> 0 revisions
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
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
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
That didn't tell us much, but does show that the specified oids are sorted
into increasing order.
into increasing order.
...
@@ -65,7 +65,7 @@ oid 0x00 persistent.mapping.PersistentMapping 1 revision
...
@@ -65,7 +65,7 @@ oid 0x00 persistent.mapping.PersistentMapping 1 revision
tid description='initial database creation'
tid description='initial database creation'
new revision persistent.mapping.PersistentMapping at 52
new revision persistent.mapping.PersistentMapping at 52
oid 0x01 <unknown> 0 revisions
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
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
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
...
@@ -151,7 +151,7 @@ oid 0x01 BTrees._OOBTree.OOBTree 2 revisions
new revision BTrees._OOBTree.OOBTree at 491
new revision BTrees._OOBTree.OOBTree at 491
references 0x00 <unknown> at 491
references 0x00 <unknown> at 491
oid 0x02 <unknown> 0 revisions
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
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
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