mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 06:31:11 -05:00
Only use tool IDL cache when multithreaded
This commit is contained in:
parent
52db507de0
commit
2014460eb5
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ static int indexer(
|
|||
|
||||
if ( opid == SLAP_INDEX_ADD_OP ) {
|
||||
#ifdef MDB_TOOL_IDL_CACHING
|
||||
if ( slapMode & SLAP_TOOL_QUICK ) {
|
||||
if (( slapMode & SLAP_TOOL_QUICK ) && slap_tool_thread_max > 2 ) {
|
||||
keyfunc = mdb_tool_idl_add;
|
||||
mc = (MDB_cursor *)ai;
|
||||
} else
|
||||
|
|
|
|||
Loading…
Reference in a new issue