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

Don't bother setting up threads if there are no indexed attrs (unlikely...)

parent 4b6a3e8b
No related branches found
No related tags found
No related merge requests found
......@@ -424,6 +424,9 @@ bdb_tool_index_add(
{
struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
if ( !bdb->bi_nattrs )
return 0;
if ( slapMode & SLAP_TOOL_QUICK ) {
IndexRec *ir;
int i, rc;
......
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