Release 3.0: db_value_set
Prev | Chapter 33. Upgrading Berkeley DB 2.X applications to Berkeley DB 3.0 | Next

## Release 3.0: db_value_set

The db_value_set function has been removed from the Berkeley DB 3.0 release, replaced by method calls on the DB_ENV handle.

The following table lists the db_value_set arguments previously used by applications and the function that should now be used instead.

db_value_set argument | Berkeley DB 3.X method
--- | ---
DB_MUTEX_LOCKS | dbenv_set_mutexlocks
DB_REGION_ANON | The DB_REGION_ANON functionality has been replaced by the DB_SYSTEM_MEM and DB_PRIVATE flags to the DB_ENV->open() function. A direct translation is not available, please review the DB_ENV->open() manual page for more information.
DB_REGION_INIT | dbenv_set_region_init
DB_REGION_NAME | The DB_REGION_NAME functionality has been replaced by the DB_SYSTEM_MEM and DB_PRIVATE flags to the DB_ENV->open() function. A direct translation is not available, please review the DB_ENV->open() manual page for more information.
DB_TSL_SPINS | dbenv_set_tas_spins

Prev | Up | Next
Release 3.0: db_jump_set | Home | Release 3.0: the DbEnv class for C++ and Java