mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Fix for ITS#5225
This commit is contained in:
parent
8cea82a987
commit
219779952a
1 changed files with 4 additions and 0 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue