[Python-checkins] r46738 - python/trunk/Lib/bsddb/__init__.py

gregory.p.smith python-checkins at python.org
Thu Jun 8 07:39:54 CEST 2006


Author: gregory.p.smith
Date: Thu Jun 8 07:39:54 2006
New Revision: 46738
Modified:
 python/trunk/Lib/bsddb/__init__.py
Log:
pasted set_lk_detect line in wrong spot in previous commit. fixed. passes tests this time.
Modified: python/trunk/Lib/bsddb/__init__.py
==============================================================================
--- python/trunk/Lib/bsddb/__init__.py	(original)
+++ python/trunk/Lib/bsddb/__init__.py	Thu Jun 8 07:39:54 2006
@@ -343,8 +343,8 @@
 e.set_cachesize(0, cachesize)
 else:
 raise error, "cachesize must be >= 20480"
- e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD | db.DB_INIT_LOCK | db.DB_INIT_MPOOL)
 e.set_lk_detect(db.DB_LOCK_DEFAULT)
+ e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD | db.DB_INIT_LOCK | db.DB_INIT_MPOOL)
 return e
 
 def _checkflag(flag, file):


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /