mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
* support DBEnv.log_stat() method on BerkeleyDB >= 4.0 [patch #1494885]
This commit is contained in:
parent
58ce5bc14c
commit
76a82e89ab
3 changed files with 78 additions and 0 deletions
|
@ -91,6 +91,9 @@ class DBEnv:
|
|||
return apply(self._cobj.lock_stat, args, kwargs)
|
||||
def log_archive(self, *args, **kwargs):
|
||||
return apply(self._cobj.log_archive, args, kwargs)
|
||||
if db.version() >= (4,0):
|
||||
def log_stat(self, *args, **kwargs):
|
||||
return apply(self._cobj.log_stat, args, kwargs)
|
||||
def set_get_returns_none(self, *args, **kwargs):
|
||||
return apply(self._cobj.set_get_returns_none, args, kwargs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue