I'm attaching the patch to add this method here just as a place to track it for now. It compiles and it looks right, but it causes a crash within BerkeleyDB when the test case runs using BerkeleyDB 4.6.21. It passes as expected when using 4.4.20 or 4.5.20. I won't commit this until the 4.6 crash issue is resolved. python bindings for the compact method were requested here: http://sourceforge.net/tracker/index.php?func=detail&aid=1724985&group_id=13900&atid=363900
I committed this patch to the imminent pybsddb 4.6.4. This will be available soon in http://www.jcea.es/programacion/pybsddb.htm, and in future Python 2.7. The function is only available if you are using Berkeley DB 4.7 or newer, since 4.6 was very buggy.
History
Date
User
Action
Args
2022-04-11 14:56:27
admin
set
github: 45732
2009-01-21 15:17:52
jcea
set
status: open -> closedresolution: acceptedmessages: +