From 9f22ced88b09c7c1be097392bb577872ac128ef1 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 7 Nov 2011 12:02:02 -0800 Subject: [PATCH] Fix Quickmode crash --- servers/slapd/back-bdb/tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/tools.c b/servers/slapd/back-bdb/tools.c index 95e640eaa1..ec8117644e 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -587,7 +587,7 @@ bdb_tool_index_add( if ( !bdb->bi_nattrs ) return 0; - if ( slapMode & SLAP_TOOL_QUICK ) { + if ( bdb_tool_threads > 1 ) { IndexRec *ir; int i, rc; Attribute *a; -- 2.39.5