###

Berkeley DB Reference Guide:
  Upgrading Berkeley DB Applications

### 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 string | Berkeley DB 3.1 version method
--- | ---
DB_DATA_DIR | DB_ENV->set_data_dir
DB_LOG_DIR | DB_ENV->set_lg_dir
DB_TMP_DIR | DB_ENV->set_tmp_dir

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