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
ec4dd025
Commit
ec4dd025
authored
Jan 21, 2003
by
matt@zope.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Route sortKey method on Shared.DC.ZRDB.TM from branch to trunk
parent
a8858f67
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
doc/CHANGES.txt
doc/CHANGES.txt
+2
-0
lib/python/Shared/DC/ZRDB/TM.py
lib/python/Shared/DC/ZRDB/TM.py
+8
-0
No files found.
doc/CHANGES.txt
View file @
ec4dd025
...
...
@@ -73,6 +73,8 @@ Zope Changes
- Collector #256: Added a check in _doChangeUser to make sure
passwords isn't encrypted twice.
- Added a sortKey() method to Shared.DC.ZRDB.TM to silence warnings
from updated ZODB that DAs dont have that method.
Zope 2.6.1 beta 1
...
...
lib/python/Shared/DC/ZRDB/TM.py
View file @
ec4dd025
...
...
@@ -65,6 +65,14 @@ class TM:
tpc_abort
=
abort
def
sortKey
(
self
,
*
ignored
):
""" The sortKey method is used for recent ZODB compatibility which
needs to have a known commit order for lock acquisition. Most
DA's talking to RDBMS systems do not care about commit order, so
return the constant 1
"""
return
1
class
Surrogate
:
def
__init__
(
self
,
db
):
...
...
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