From: Howard Chu Date: Thu, 27 Mar 2003 04:30:05 +0000 (+0000) Subject: Don't use subdatabases for indexes. This patch is an incompatible change, X-Git-Tag: NO_SLAP_OP_BLOCKS~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1985b2c5a1fd8fdf66fdeb0866262088adf5de81;p=openldap Don't use subdatabases for indexes. This patch is an incompatible change, must destroy existing indexes and run slapindex to regenerate. --- diff --git a/servers/slapd/back-bdb/dbcache.c b/servers/slapd/back-bdb/dbcache.c index 5a07911d6d..d7ce96003f 100644 --- a/servers/slapd/back-bdb/dbcache.c +++ b/servers/slapd/back-bdb/dbcache.c @@ -115,7 +115,7 @@ bdb_db_cache( flags = bdb->bi_db_opflags | DB_CREATE | DB_THREAD; if ( !tid ) flags |= DB_AUTO_COMMIT; rc = DB_OPEN( db->bdi_db, tid, - file, name, + file, NULL /* name */, DB_HASH, flags, bdb->bi_dbenv_mode );