fasttool: BDB 4.3 uses DB_LOG_INMEMORY instead of DB_TXN_NOT_DURABLE

This commit is contained in:
Howard Chu 2004-11-13 13:23:33 +00:00
parent ab25b43364
commit 3cfbe2ec29

View File

@ -66,7 +66,11 @@ bdb_db_config(
/* slapadd/slapindex logging configuration */
} else if ( strcasecmp( argv[0], "fasttool" ) == 0 ) {
if ( slapMode & SLAP_TOOL_MODE )
#if DB_VERSION_FULL >= 0x04030015
bdb->bi_dbenv_xflags |= DB_LOG_INMEMORY;
#else
bdb->bi_dbenv_xflags |= DB_TXN_NOT_DURABLE;
#endif
/* slapindex algorithm tuning */
} else if ( strcasecmp( argv[0], "linearindex" ) == 0 ) {