From 4ed4b3f0c00a2d80d72ca1f7d8459b8b28485297 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 15 Dec 2001 23:00:46 +0000 Subject: [PATCH] Revert previous checkin, DB_NODUPDATA is not valid on db->set_flags(). It must be specified on individual put() operations (and already is). --- servers/slapd/back-bdb/dbcache.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/servers/slapd/back-bdb/dbcache.c b/servers/slapd/back-bdb/dbcache.c index 5edc674d96..9fefd7f287 100644 --- a/servers/slapd/back-bdb/dbcache.c +++ b/servers/slapd/back-bdb/dbcache.c @@ -70,8 +70,7 @@ bdb_db_cache( rc = db->bdi_db->set_pagesize( db->bdi_db, BDB_PAGESIZE ); #ifdef BDB_IDL_MULTI - rc = db->bdi_db->set_flags( db->bdi_db, - DB_DUP | DB_DUPSORT | DB_NODUPDATA ); + rc = db->bdi_db->set_flags( db->bdi_db, DB_DUP | DB_DUPSORT ); rc = db->bdi_db->set_dup_compare( db->bdi_db, bdb_bt_compare ); #endif