Berkeley DB Reference Guide:
Upgrading Berkeley DB Applications

PrevRefNext

Release 3.1: environment configuration

A set of DB_ENV configuration methods which were not environment specific, but which instead affected the entire application space, have been removed from the DB_ENV object and replaced by static functions. The following table lists the DB_ENV methods previously available to applications and the static functions that should now be used instead.

DB_ENV methodBerkeley DB 3.1 function
DBENV->set_func_closedb_env_set_func_close
DBENV->set_func_dirfreedb_env_set_func_dirfree
DBENV->set_func_dirlistdb_env_set_func_dirlist
DBENV->set_func_existsdb_env_set_func_exists
DBENV->set_func_freedb_env_set_func_free
DBENV->set_func_fsyncdb_env_set_func_fsync
DBENV->set_func_ioinfodb_env_set_func_ioinfo
DBENV->set_func_mallocdb_env_set_func_malloc
DBENV->set_func_mapdb_env_set_func_map
DBENV->set_func_opendb_env_set_func_open
DBENV->set_func_readdb_env_set_func_read
DBENV->set_func_reallocdb_env_set_func_realloc
DBENV->set_func_renamedb_env_set_func_rename
DBENV->set_func_seekdb_env_set_func_seek
DBENV->set_func_sleepdb_env_set_func_sleep
DBENV->set_func_unlinkdb_env_set_func_unlink
DBENV->set_func_unmapdb_env_set_func_unmap
DBENV->set_func_writedb_env_set_func_write
DBENV->set_func_yielddb_env_set_func_yield
DBENV->set_pageyielddb_env_set_pageyield
DBENV->set_region_initdb_env_set_region_init
DBENV->set_mutexlocksDBENV->set_mutexlocks
DBENV->set_tas_spinsdb_env_set_tas_spins

PrevRefNext

Copyright Sleepycat Software