mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Support linking of the bsddb module against BerkeleyDB 4.5.x
(will backport to 2.5)
This commit is contained in:
parent
7b7c9d4208
commit
8b96a35d14
6 changed files with 18 additions and 7 deletions
|
@ -55,8 +55,9 @@ class DBEnv:
|
|||
return apply(self._cobj.set_lg_max, args, kwargs)
|
||||
def set_lk_detect(self, *args, **kwargs):
|
||||
return apply(self._cobj.set_lk_detect, args, kwargs)
|
||||
def set_lk_max(self, *args, **kwargs):
|
||||
return apply(self._cobj.set_lk_max, args, kwargs)
|
||||
if db.version() < (4,5):
|
||||
def set_lk_max(self, *args, **kwargs):
|
||||
return apply(self._cobj.set_lk_max, args, kwargs)
|
||||
def set_lk_max_locks(self, *args, **kwargs):
|
||||
return apply(self._cobj.set_lk_max_locks, args, kwargs)
|
||||
def set_lk_max_lockers(self, *args, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue