Berkeley DB Reference Guide:
Upgrading Berkeley DB Applications

PrevRefNext

Release 3.1: DBENV->open, DBENV->remove

In the Berkeley DB 3.1 release, the config argument to the DBENV->open, DBENV->remove methods has been removed, replaced by additional methods on the DB_ENV handle. If your application calls DBENV->open or DBENV->remove with a NULL config argument, find those functions and remove the config argument from the call. If your application has non-NULL config argument, the strings values in that argument are replaced with calls to DB_ENV methods as follows:

Previous config stringBerkeley DB 3.1 version method
DB_DATA_DIRDBENV->set_data_dir
DB_LOG_DIRDBENV->set_lg_dir
DB_TMP_DIRDBENV->set_tmp_dir

PrevRefNext

Copyright Sleepycat Software