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
d46b7395
Commit
d46b7395
authored
May 19, 2004
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collector 1341: TemporaryStorage can't be used under a ZEO server.
parent
9a5e9fa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
lib/python/tempstorage/TemporaryStorage.py
lib/python/tempstorage/TemporaryStorage.py
+5
-0
No files found.
lib/python/tempstorage/TemporaryStorage.py
View file @
d46b7395
...
...
@@ -71,6 +71,10 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
self
.
_recently_gc_oids
=
[
None
for
x
in
range
(
RECENTLY_GC_OIDS_LEN
)]
self
.
_oid
=
'
\
0
\
0
\
0
\
0
\
0
\
0
\
0
\
0
'
def
lastTransaction
(
self
):
""" Return tid for last committed transaction (for ZEO) """
return
self
.
_ltid
def
__len__
(
self
):
return
len
(
self
.
_index
)
...
...
@@ -173,6 +177,7 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
serial
=
self
.
_tid
index
=
self
.
_index
opickle
=
self
.
_opickle
self
.
_ltid
=
tid
# iterate over all the objects touched by/created within this
# transaction
...
...
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