Berkeley DB Reference Guide:
Upgrading Berkeley DB Applications

PrevRefNext

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 argumentBerkeley DB 3.X method
DB_MUTEX_LOCKSdb_env_set_mutexlocks
DB_REGION_ANONThe 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_INITdb_env_set_region_init
DB_REGION_NAMEThe 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_SPINSdb_env_set_tas_spins

PrevRefNext

Copyright Sleepycat Software