]> git.sur5r.net Git - openldap/commitdiff
BDB_MULTI still needs the dupsort function.
authorHoward Chu <hyc@openldap.org>
Tue, 18 Dec 2001 04:41:40 +0000 (04:41 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 18 Dec 2001 04:41:40 +0000 (04:41 +0000)
servers/slapd/back-bdb/dbcache.c

index 10a937c101b479d54b16d1a9aadd2b6051d0f963..a92cb44fbb29aeaa11f1ef3a07c838d3ed50c6ca 100644 (file)
@@ -91,6 +91,7 @@ bdb_db_cache(
 #endif
 #ifdef BDB_IDL_MULTI
        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
 
        file = ch_malloc( strlen( name ) + sizeof(BDB_SUFFIX) );