I modify the db-4.3.29/env/env_region.c , before return DB_VERSION_MISMATCH, printing renv->majver and renv->minver. And their result is all ZERO ---- renv->majver == 0 and renv->minver == 0
Now I can sure there isn't any different version BDB tool access it.
"Sleepycat recommends that you run normal recovery every time you perform application startup." (http://www.sleepycat.com/docs/gsg_txn/CXX/recovery.html)
I think slapd should follow the BDB's recommendation
--Quanah
-- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html