[pybsddb] [PATCH] add support for DBEnv->set_intermediate_dir

Garrett Cooper yanegomi at gmail.com
Tue Jun 7 09:00:27 CEST 2011


Hi,
    It turns out there was another [undocumented] API that was in use
at $WORK that we need present in bdb/bsddb3 -- set_intermediate_dir.
It was made available between 4.3 and 4.6, but subsequently deprecated
in 4.7 in favor of set_intermediate_dir_mode. The patch provided adds
this API for feature parity with what we have; the patch is written so
that it applies standalone with older versions of py-bsddb3.
    I'll provide a testcase for this to demonstrate that it works
later, but it passed smoketesting I performed on it internally, and
compiles properly against 4.4.20 on amd64 and i386.
Thanks,
-Garrett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pybsddb-add-DBEnv_set_intermediate_dir.patch
Type: text/x-patch
Size: 1181 bytes
Desc: not available
URL: <https://mailman.jcea.es/pipermail/pybsddb/attachments/20110607/94f95342/attachment.bin>


More information about the pybsddb mailing list