Skip to content
Snippets Groups Projects
Commit 21977995 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Fix for ITS#5225

parent 8cea82a9
No related branches found
No related tags found
No related merge requests found
......@@ -664,6 +664,10 @@ ID bdb_tool_entry_modify(
(long) e->e_id, e->e_dn, 0 );
if (! (slapMode & SLAP_TOOL_QUICK)) {
if( cursor ) {
cursor->c_close( cursor );
cursor = NULL;
}
rc = TXN_BEGIN( bdb->bi_dbenv, NULL, &tid,
bdb->bi_db_opflags );
if( rc != 0 ) {
......
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