From: Howard Chu Date: Sat, 15 Dec 2001 23:00:46 +0000 (+0000) Subject: Revert previous checkin, DB_NODUPDATA is not valid on db->set_flags(). X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~645 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ed4b3f0c00a2d80d72ca1f7d8459b8b28485297;p=openldap Revert previous checkin, DB_NODUPDATA is not valid on db->set_flags(). It must be specified on individual put() operations (and already is). --- 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