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
3009903f
Commit
3009903f
authored
Jun 24, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove stray numeric expression. Add a couple of XXX comments.
parent
2d9b4551
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
src/ZODB/DB.py
src/ZODB/DB.py
+8
-6
No files found.
src/ZODB/DB.py
View file @
3009903f
...
...
@@ -13,8 +13,8 @@
##############################################################################
"""Database objects
$Id: DB.py,v 1.5
2 2003/06/24 21:47:50
jeremy Exp $"""
__version__
=
'$Revision: 1.5
2
$'
[
11
:
-
2
]
$Id: DB.py,v 1.5
3 2003/06/24 21:50:18
jeremy Exp $"""
__version__
=
'$Revision: 1.5
3
$'
[
11
:
-
2
]
import
cPickle
,
cStringIO
,
sys
,
POSException
,
UndoLogCompatible
from
Connection
import
Connection
...
...
@@ -142,7 +142,8 @@ class DB(UndoLogCompatible.UndoLogCompatible):
# No such version. We must have deleted the pool.
# Just let the connection go.
# We need to break circular refs to make it really go:
# We need to break circular refs to make it really go.
# XXX What objects are involved in the cycle?
connection
.
__dict__
.
clear
()
return
...
...
@@ -491,11 +492,12 @@ class DB(UndoLogCompatible.UndoLogCompatible):
del
pools
[
version
]
pool
,
allocated
,
pool_lock
=
info
pooll
.
remove
((
pool
,
allocated
))
try
:
pool_lock
.
release
()
except
:
pass
try
:
pool_lock
.
release
()
except
:
# XXX Do we actually expect this to fail?
pass
del
pool
[:]
del
allocated
[:]
6L
def
connectionDebugInfo
(
self
):
r
=
[]
...
...
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