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
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
Nicolas Wavrant
ZODB
Commits
7dd92633
Commit
7dd92633
authored
Jun 16, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log the ltid when the cache is opened.
parent
c4a2f119
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/ZEO/ClientCache.py
src/ZEO/ClientCache.py
+7
-2
No files found.
src/ZEO/ClientCache.py
View file @
7dd92633
...
...
@@ -189,8 +189,13 @@ class ClientCache:
f
[
0
].
write
(
magic
+
'
\
0
'
*
(
headersize
-
len
(
magic
)))
current
=
0
self
.
log
(
"%s: storage=%r, size=%r; file[%r]=%r"
%
(
self
.
__class__
.
__name__
,
storage
,
size
,
current
,
p
[
current
]))
if
self
.
_ltid
:
ts
=
"; last txn=%x"
%
u64
(
self
.
_ltid
)
else
:
ts
=
""
self
.
log
(
"%s: storage=%r, size=%r; file[%r]=%r%s"
%
(
self
.
__class__
.
__name__
,
storage
,
size
,
current
,
p
[
current
],
ts
))
self
.
_current
=
current
self
.
_setup_trace
()
...
...
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