mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 11:39:34 -05:00
Use DB_RMW when deleting dn2id elements
This commit is contained in:
parent
7e1a91340c
commit
35d18d4ab0
1 changed files with 1 additions and 1 deletions
|
|
@ -698,7 +698,7 @@ bdb_dn2id_delete(
|
|||
*/
|
||||
if ( rc == 0 ) {
|
||||
key.data = &e->e_id;
|
||||
rc = cursor->c_get( cursor, &key, &data, DB_SET );
|
||||
rc = cursor->c_get( cursor, &key, &data, DB_SET | DB_RMW );
|
||||
if ( rc == 0 )
|
||||
rc = cursor->c_del( cursor, 0 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue