Berkeley DB Reference Guide:
Upgrading Berkeley DB Applications

PrevRefNext

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 argumentBerkeley DB 3.X method
DB_MUTEX_LOCKSdbenv_set_mutexlocks
DB_REGION_ANONThe 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_INITdbenv_set_region_init
DB_REGION_NAMEThe 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_SPINSdbenv_set_tas_spins

PrevRefNext

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.