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
74cd4017
Commit
74cd4017
authored
Mar 18, 2002
by
Toby Dickenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tell Berkeley that we might use the database environment from more than one thread
parent
dbb1e53a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lib/python/BDBStorage/BerkeleyBase.py
lib/python/BDBStorage/BerkeleyBase.py
+2
-1
No files found.
lib/python/BDBStorage/BerkeleyBase.py
View file @
74cd4017
...
@@ -39,7 +39,7 @@ from bsddb3 import db
...
@@ -39,7 +39,7 @@ from bsddb3 import db
from
ZODB
import
POSException
from
ZODB
import
POSException
from
ZODB.BaseStorage
import
BaseStorage
from
ZODB.BaseStorage
import
BaseStorage
__version__
=
'$Revision: 1.1
5
$'
.
split
()[
-
2
:][
0
]
__version__
=
'$Revision: 1.1
6
$'
.
split
()[
-
2
:][
0
]
...
@@ -247,5 +247,6 @@ def env_from_string(envname):
...
@@ -247,5 +247,6 @@ def env_from_string(envname):
|
db
.
DB_INIT_MPOOL
# initialize shared memory buffer pool
|
db
.
DB_INIT_MPOOL
# initialize shared memory buffer pool
|
db
.
DB_INIT_LOCK
# initialize locking subsystem
|
db
.
DB_INIT_LOCK
# initialize locking subsystem
|
db
.
DB_INIT_TXN
# initialize transaction subsystem
|
db
.
DB_INIT_TXN
# initialize transaction subsystem
|
db
.
DB_THREAD
# we use the environment from other threads
)
)
return
env
return
env
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