mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
appropriately detect index delete failure
This commit is contained in:
parent
4191f39037
commit
563736859c
2 changed files with 3 additions and 4 deletions
|
|
@ -356,8 +356,7 @@ retry: /* transaction retry */
|
|||
}
|
||||
|
||||
return_results:
|
||||
send_ldap_result( conn, op, LDAP_SUCCESS,
|
||||
NULL, text, NULL, NULL );
|
||||
send_ldap_result( conn, op, rc, NULL, text, NULL, NULL );
|
||||
|
||||
if(rc == LDAP_SUCCESS && bdb->bi_txn_cp ) {
|
||||
ldap_pvt_thread_yield();
|
||||
|
|
|
|||
|
|
@ -363,10 +363,10 @@ bdb_index_entry(
|
|||
if( rc != LDAP_SUCCESS ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "index", LDAP_LEVEL_ENTRY,
|
||||
"index_entry: success\n" ));
|
||||
"index_entry: failure (%d)\n", rc ));
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"<= index_entry_%s( %ld, \"%s\" ) success\n",
|
||||
"<= index_entry_%s( %ld, \"%s\" ) failure\n",
|
||||
op == SLAP_INDEX_ADD_OP ? "add" : "del",
|
||||
(long) e->e_id, e->e_dn );
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue