mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Disallow duplicate duplicate data
This commit is contained in:
parent
c2e162c6d6
commit
e2173e3c20
@ -70,7 +70,8 @@ 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 );
|
||||
rc = db->bdi_db->set_flags( db->bdi_db,
|
||||
DB_DUP | DB_DUPSORT | DB_NODUPDATA );
|
||||
rc = db->bdi_db->set_dup_compare( db->bdi_db, bdb_bt_compare );
|
||||
#endif
|
||||
|
||||
|
@ -259,7 +259,7 @@ bdb_db_open( BackendDB *be )
|
||||
bdb_bt_compare );
|
||||
#elif defined(BDB_IDL_MULTI)
|
||||
rc = db->bdi_db->set_flags( db->bdi_db,
|
||||
DB_DUP | DB_DUPSORT );
|
||||
DB_DUP | DB_DUPSORT | DB_NODUPDATA );
|
||||
rc = db->bdi_db->set_dup_compare( db->bdi_db,
|
||||
bdb_bt_compare );
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user