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
00df8ddb
Commit
00df8ddb
authored
Dec 08, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure the ConnectionObjectReader uses cache created after _resetCache().
Patch from Dieter Maurer.
parent
e9cf0b8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/ZODB/Connection.py
src/ZODB/Connection.py
+3
-3
No files found.
src/ZODB/Connection.py
View file @
00df8ddb
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""Database connection support
$Id: Connection.py,v 1.10
2 2003/11/28 16:44:49 jim
Exp $"""
$Id: Connection.py,v 1.10
3 2003/12/08 21:12:25 jeremy
Exp $"""
import
sys
import
threading
...
...
@@ -158,8 +158,6 @@ class Connection(ExportImport, object):
Any objects modified since the last transaction are invalidated.
"""
self
.
_db
=
odb
self
.
_reader
=
ConnectionObjectReader
(
self
,
self
.
_cache
,
self
.
_db
.
_classFactory
)
self
.
_storage
=
odb
.
_storage
self
.
_sortKey
=
odb
.
_storage
.
sortKey
self
.
new_oid
=
odb
.
_storage
.
new_oid
...
...
@@ -168,6 +166,8 @@ class Connection(ExportImport, object):
self
.
_resetCache
()
else
:
self
.
_flush_invalidations
()
self
.
_reader
=
ConnectionObjectReader
(
self
,
self
.
_cache
,
self
.
_db
.
_classFactory
)
self
.
_opened
=
time
()
return
self
...
...
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