Skip to content
Snippets Groups Projects
Commit 3cfbe2ec authored by Howard Chu's avatar Howard Chu
Browse files

fasttool: BDB 4.3 uses DB_LOG_INMEMORY instead of DB_TXN_NOT_DURABLE

parent ab25b433
No related branches found
No related tags found
No related merge requests found
......@@ -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 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment