Commit 21977995 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Fix for ITS#5225

parent 8cea82a9
......@@ -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 ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment