From 433eb73ef8d22d98e87e054ac4654d096261547c Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 3 Oct 2001 23:49:38 +0000 Subject: [PATCH] Add BDB_INDEX error handling --- servers/slapd/back-bdb/tools.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5