]> git.sur5r.net Git - openldap/commitdiff
Add BDB_INDEX error handling
authorKurt Zeilenga <kurt@openldap.org>
Wed, 3 Oct 2001 23:49:38 +0000 (23:49 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 3 Oct 2001 23:49:38 +0000 (23:49 +0000)
servers/slapd/back-bdb/tools.c

index be5a817362cda86b7128b78dd780f2eebe7b2c95..255648ef722b95516dc86cd1d92c5b05612b336b 100644 (file)
@@ -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