Berkeley DB Reference Guide: Upgrading Berkeley DB Applications
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++

### Berkeley DB Reference Guide: Upgrading Berkeley DB Applications |

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

Copyright Sleepycat Software