]> git.sur5r.net Git - openldap/commitdiff
Revert previous checkin, DB_NODUPDATA is not valid on db->set_flags().
authorHoward Chu <hyc@openldap.org>
Sat, 15 Dec 2001 23:00:46 +0000 (23:00 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 15 Dec 2001 23:00:46 +0000 (23:00 +0000)
It must be specified on individual put() operations (and already is).

servers/slapd/back-bdb/dbcache.c

index 5edc674d96649851a5ff006efbdd2cc26492e2dc..9fefd7f287a7e21661621a29d9aed17b5208d010 100644 (file)
@@ -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