Low Level API Changes ===================== Below is the full list of API changes which a programmer upgrading from 4.2 -> 4.7 would need to know about as noted in Chapter 31 in the Reference Guide: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html Functions: + Run time functions db_env_set_func_map/db_env_set_func_unmap replaced with functions db_env_set_func_region_map/db_env_func_file_map. Methods: + Base replication methods rep_elect, rep_get_nsites, rep_set_nsites, rep_get_priority, rep_set_priority now take arguments of type u_int32_t rather than int. + DB Env method set_intermediate_dir replaced with set_intermediate_dir_mode. + Log Configuration method set_flags replaced with log_set_config. + The DBC handle methods have been renamed for consistency with the C++ and Java APIs. The change is the removal of the leading "C_" from the names, ie: DBC->c_close changed to DBC->close. + DB_MPOOLFILE->put takes a new parameter: a page priority. + DB_MPOOLFILE->set has been removed. + The envid parameter to DB_ENV->rep_process_message has been changed to "int" rather than "int *" + The envid parameter to DB_ENV->rep_elect has been removed. + DB_REP_FULL_ELECTION flag specified to DB_ENV->repmgr_start has been removed. + Changes to default verbose message handling methods. + In replication the DB_REP_LOGSONLY flag to DB_ENV->rep_start replaced with DB_REP_CLIENT + New arguments nvotes, flags to DB_ENV->rep_elect. + New parameter passed to DB_ENV->set_errcall and DB->set_errcall. + Support for DB_ENV-set_verbose flag DB_VERB_CHKPOINT removed. + DB_ENV->set_msgcall/set_msgfile added to process message outputs. + For database environs using flag DB_TXN_NOTDURABLE replace with DB_LOG_INMEMORY. + DB_ENV->set_tas_spins/get_tas_spins renamed to DB_ENV->mutex_set_tas_spins/mutex_get_tas_spins + Flag DB_MUTEX_PROCESS_ONLY added to DB_ENV->set_isalive + Parameters priority & timeout no longer set via DB_ENV->rep_elect, use rep_set_priority & rep_set_timeout. + DB_ENV->set_rep_limit/get_rep_limit/set_rep_transport changed to rep_set_limit/rep_get_limit & rep_set_timeout + One of the informational returns from DB_ENV->rep_process_message changed to an event. + DB_MPOOL_DIRTY flag is now specified to the DB_MPOOLFILE->get method instead of the put method and the set method has been removed. DB_MPOOL_CLEAN flag is no longer supported.