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() flag | Replacement DB_ENV->log_set_config() flag |
---|---|
DB_DIRECT_LOG | DB_LOG_DIRECT |
DB_DSYNC_LOG | DB_LOG_DSYNC |
DB_LOG_INMEMORY | DB_LOG_IN_MEMORY |
DB_LOG_AUTOREMOVE | DB_LOG_AUTO_REMOVE |