Berkeley DB Reference Guide:
Upgrading Berkeley DB Applications
PrevRefNext

Release 4.7: Log configuration

In the Berkeley DB 4.7 release, the logging subsystem is configured using the DB_ENV->log_set_config method instead of the previously used DB_ENV->set_flags method.

The DB_ENV->set_flags method no longer accepts the flags DB_DIRECT_LOG, DB_DSYNC_LOG, DB_LOG_INMEMORY or DB_LOG_AUTOREMOVE. Applications should be modified to use the equivalent flags accepted by the DB_ENV->log_set_config method.

Previous DB_ENV->set_flags flagReplacement DB_ENV->log_set_config flag
DB_DIRECT_LOGDB_LOG_DIRECT
DB_DSYNC_LOGDB_LOG_DSYNC
DB_LOG_INMEMORYDB_LOG_IN_MEMORY
DB_LOG_AUTOREMOVEDB_LOG_AUTO_REMOVE

PrevRefNext

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