Berkeley DB Reference Guide:
Upgrading Berkeley DB Applications

PrevRefNext

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

In the Berkeley DB 3.1 release, the config argument to the DB_ENV->open, DB_ENV->remove methods has been removed, replaced by additional methods on the DB_ENV handle. If your application calls DB_ENV->open or DB_ENV->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_DIRDB_ENV->set_data_dir
DB_LOG_DIRDB_ENV->set_lg_dir
DB_TMP_DIRDB_ENV->set_tmp_dir

PrevRefNext

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.