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
nexedi
ZODB
Commits
3058a06f
Commit
3058a06f
authored
Sep 11, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Raise ReadOnlyError on tpc_begin().
parent
398e9a4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/ZEO/ClientStorage.py
src/ZEO/ClientStorage.py
+3
-1
No files found.
src/ZEO/ClientStorage.py
View file @
3058a06f
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
##############################################################################
##############################################################################
"""Network ZODB storage client
"""Network ZODB storage client
$Id: ClientStorage.py,v 1.5
6 2002/09/09 18:34:03
jeremy Exp $
$Id: ClientStorage.py,v 1.5
7 2002/09/11 17:36:39
jeremy Exp $
"""
"""
# XXX TO DO
# XXX TO DO
...
@@ -341,6 +341,8 @@ class ClientStorage:
...
@@ -341,6 +341,8 @@ class ClientStorage:
return
self
.
_check_serials
()
return
self
.
_check_serials
()
def
tpc_begin
(
self
,
transaction
,
tid
=
None
,
status
=
' '
):
def
tpc_begin
(
self
,
transaction
,
tid
=
None
,
status
=
' '
):
if
self
.
_is_read_only
:
raise
POSException
.
ReadOnlyError
()
self
.
_tpc_cond
.
acquire
()
self
.
_tpc_cond
.
acquire
()
while
self
.
_transaction
is
not
None
:
while
self
.
_transaction
is
not
None
:
# It is allowable for a client to call two tpc_begins in a
# It is allowable for a client to call two tpc_begins in a
...
...
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