mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#8291 Reopen cursor after delete
This commit is contained in:
parent
5e531214b5
commit
3258bf40eb
@ -1158,9 +1158,12 @@ done:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( cursor == NULL )
|
||||||
|
{
|
||||||
rc = bdb->bi_id2entry->bdi_db->cursor(
|
rc = bdb->bi_id2entry->bdi_db->cursor(
|
||||||
bdb->bi_id2entry->bdi_db, bdb->bi_cache.c_txn, &cursor,
|
bdb->bi_id2entry->bdi_db, bdb->bi_cache.c_txn, &cursor,
|
||||||
bdb->bi_db_opflags );
|
bdb->bi_db_opflags );
|
||||||
|
}
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user