[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Fwd: Re: DB_LOG_AUTOREMOVE: how does it work?



Quanah Gibson-Mount wrote:



--On Saturday, March 19, 2005 1:30 PM -0800 "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> wrote:

Maybe we can commit the back-bdb patch behind an ifdef,
and place the BerkeleyBDB patch in build/berkeleydb42.patch?


Hm... does having the 3rd patch in place generate a different version string for BDB? If someone builds OpenLDAP with the OL piece of the patch, but not the BDB piece of the patch, it simply won't work. We'd definitely need a way to test for BDB being a patched version.

Currently it doesn't, but I guess we can patch the version macros as well. Yes, we definitely need a way to detect the patch, and probably a runtime check to abort the startup if the wrong library somehow gets attached...


--
 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support