Skip to content
Snippets Groups Projects
Commit af26f023 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Ignore idl_delete_key errors. LDBM isn't transactional, state

indexes could be hosed.
parent f6f3504f
No related branches found
No related tags found
No related merge requests found
......@@ -80,10 +80,17 @@ id2children_remove(
key.dsize = strlen( buf ) + 1;
if ( idl_delete_key( be, db, key, e->e_id ) != 0 ) {
Debug( LDAP_DEBUG_TRACE, "<= id2children_remove -1 (idl_delete)\n",
#if 0
Debug( LDAP_DEBUG_ANY,
"<= id2children_remove: idl_delete_key failure\n",
0, 0, 0 );
ldbm_cache_close( be, db );
return( -1 );
#else
Debug( LDAP_DEBUG_ANY,
"<= id2children_remove: ignoring idl_delete_key failure\n",
0, 0, 0 );
#endif
}
ldbm_cache_close( be, db );
......
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