summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/dbobj.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2006-01-27 07:06:15 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2006-01-27 07:06:15 (GMT)
commit3d344e8b07c84320422f7ce88e3f470c4d53138d (patch)
tree5dc49edd46e56d662d27d7dba68182869de0d646 /Lib/bsddb/dbobj.py
parent8a474047994ffaa5fa19a1fb7a24426635e1dbc1 (diff)
downloadcpython-3d344e8b07c84320422f7ce88e3f470c4d53138d.zip
cpython-3d344e8b07c84320422f7ce88e3f470c4d53138d.tar.gz
cpython-3d344e8b07c84320422f7ce88e3f470c4d53138d.tar.bz2
Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVER
(test cases and dbobj wrapping)
Diffstat (limited to 'Lib/bsddb/dbobj.py')
-rw-r--r--Lib/bsddb/dbobj.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/bsddb/dbobj.py b/Lib/bsddb/dbobj.py
index 667ec31..5bcf84b 100644
--- a/Lib/bsddb/dbobj.py
+++ b/Lib/bsddb/dbobj.py
@@ -77,6 +77,8 @@ class DBEnv:
return apply(self._cobj.txn_stat, args, kwargs)
def set_tx_max(self, *args, **kwargs):
return apply(self._cobj.set_tx_max, args, kwargs)
+ def set_tx_timestamp(self, *args, **kwargs):
+ return apply(self._cobj.set_tx_timestamp, args, kwargs)
def lock_detect(self, *args, **kwargs):
return apply(self._cobj.lock_detect, args, kwargs)
def lock_get(self, *args, **kwargs):