Library Version 12.1.6.0

DB_ENV->open, DB_ENV->remove
Prev | Chapter 13. Upgrading Berkeley DB 3.0 applications to Berkeley DB 3.1 | Next

## DB_ENV->open, DB_ENV->remove

In the Berkeley DB 3.1 release, the config argument to the DB_ENV->open() and 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()

Prev | Up | Next
Chapter 13. Upgrading Berkeley DB 3.0 applications to Berkeley DB 3.1 | Home | DB_ENV->set_tx_recover