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
DB_ENV->set_func_closedb_env_set_func_close
DB_ENV->set_func_dirfreedb_env_set_func_dirfree
DB_ENV->set_func_dirlistdb_env_set_func_dirlist
DB_ENV->set_func_existsdb_env_set_func_exists
DB_ENV->set_func_freedb_env_set_func_free
DB_ENV->set_func_fsyncdb_env_set_func_fsync
DB_ENV->set_func_ioinfodb_env_set_func_ioinfo
DB_ENV->set_func_mallocdb_env_set_func_malloc
DB_ENV->set_func_mapdbenv_set_func_map
DB_ENV->set_func_opendb_env_set_func_open
DB_ENV->set_func_readdb_env_set_func_read
DB_ENV->set_func_reallocdb_env_set_func_realloc
DB_ENV->set_func_renamedb_env_set_func_rename
DB_ENV->set_func_seekdb_env_set_func_seek
DB_ENV->set_func_sleepdb_env_set_func_sleep
DB_ENV->set_func_unlinkdb_env_set_func_unlink
DB_ENV->set_func_unmapdbenv_set_func_unmap
DB_ENV->set_func_writedb_env_set_func_write
DB_ENV->set_func_yielddb_env_set_func_yield
DB_ENV->set_pageyielddbenv_set_pageyield
DB_ENV->set_region_initdbenv_set_region_init
DB_ENV->set_mutexlocksdbenv_set_mutexlocks
DB_ENV->set_tas_spinsdbenv_set_tas_spins

PrevRefNext

Copyright (c) 1996,2008 Oracle. All rights reserved.