From: Kurt Zeilenga Date: Wed, 3 Oct 2001 23:49:38 +0000 (+0000) Subject: Add BDB_INDEX error handling X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1003 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=433eb73ef8d22d98e87e054ac4654d096261547c;p=openldap Add BDB_INDEX error handling --- diff --git a/servers/slapd/back-bdb/tools.c b/servers/slapd/back-bdb/tools.c index be5a817362..255648ef72 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -159,6 +159,9 @@ ID bdb_tool_entry_put( #if BDB_INDEX rc = bdb_index_entry_add( be, tid, e, e->e_attrs ); if( rc != 0 ) { + Debug( LDAP_DEBUG_ANY, + "=> bdb_tool_entry_put: index_entry_add failed: %s (%d)\n", + db_strerror(rc), rc, 0 ); goto done; } #endif