mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Don't signal error if reindexing an already existing dn2id index
This commit is contained in:
parent
fcce9bb260
commit
bfe6df6b20
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user