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
fd8d511b
Commit
fd8d511b
authored
Sep 04, 2000
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added check for pathelogical case of None return from storage undo.
parent
230ffbe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+7
-4
No files found.
src/ZEO/StorageServer.py
View file @
fd8d511b
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
#
#
##############################################################################
##############################################################################
__version__
=
"$Revision: 1.1
5
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.1
6
$"
[
11
:
-
2
]
import
asyncore
,
socket
,
string
,
sys
,
cPickle
,
os
import
asyncore
,
socket
,
string
,
sys
,
cPickle
,
os
from
smac
import
SizedMessageAsyncConnection
from
smac
import
SizedMessageAsyncConnection
...
@@ -430,9 +430,12 @@ class Connection(SizedMessageAsyncConnection):
...
@@ -430,9 +430,12 @@ class Connection(SizedMessageAsyncConnection):
def
undo
(
self
,
transaction_id
):
def
undo
(
self
,
transaction_id
):
oids
=
self
.
__storage
.
undo
(
transaction_id
)
oids
=
self
.
__storage
.
undo
(
transaction_id
)
self
.
__server
.
invalidate
(
if
oids
:
self
,
self
.
__storage_id
,
map
(
lambda
oid
:
(
oid
,
None
,
''
),
oids
))
self
.
__server
.
invalidate
(
return
oids
self
,
self
.
__storage_id
,
map
(
lambda
oid
:
(
oid
,
None
,
''
),
oids
)
)
return
oids
return
()
def
tpc_abort
(
self
,
id
):
def
tpc_abort
(
self
,
id
):
t
=
self
.
_transaction
t
=
self
.
_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