From 35d18d4ab0edbb89d0acc2aec703d47f8d3f0873 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 30 Apr 2003 07:46:58 +0000 Subject: [PATCH] Use DB_RMW when deleting dn2id elements --- servers/slapd/back-bdb/dn2id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/dn2id.c b/servers/slapd/back-bdb/dn2id.c index 88b468e6e9..78a14c26b7 100644 --- a/servers/slapd/back-bdb/dn2id.c +++ b/servers/slapd/back-bdb/dn2id.c @@ -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 ); } -- 2.39.5