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

Don't signal error if reindexing an already existing dn2id index

parent fcce9bb2
Branches
Tags
No related merge requests found
......@@ -290,10 +290,8 @@ int ldbm_tool_entry_reindex(
id, e->e_dn, 0 );
#endif
rc = dn2id_add( be, e->e_ndn, e->e_id );
if( rc == 0 ) {
rc = index_entry_add( be, e, e->e_attrs );
}
dn2id_add( be, e->e_ndn, e->e_id );
rc = index_entry_add( be, e, e->e_attrs );
entry_free( e );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment