Fix Quickmode crash

This commit is contained in:
Howard Chu 2011-11-07 12:02:02 -08:00
parent ff0f83a129
commit 9f22ced88b

View File

@ -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;