Fix for ITS#5225

This commit is contained in:
Quanah Gibson-Mount 2007-11-28 23:27:16 +00:00
parent 8cea82a987
commit 219779952a

View file

@ -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 ) {