mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fasttool: BDB 4.3 uses DB_LOG_INMEMORY instead of DB_TXN_NOT_DURABLE
This commit is contained in:
parent
ab25b43364
commit
3cfbe2ec29
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user