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

# Release 3.0: db_value_set

The db_value_set interface 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 methods 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 DBENV->open function. A direct translation is not available, please review the DBENV->open manual page for more information.
DB_REGION_INIT | db_env_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 DBENV->open function. A direct translation is not available, please review the DBENV->open manual page for more information.
DB_TSL_SPINS | db_env_set_tas_spins

Copyright Sleepycat Software