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

Add BDB_INDEX error handling

parent 3ad55b22
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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