]> git.sur5r.net Git - openldap/commitdiff
Don't use subdatabases for indexes. This patch is an incompatible change,
authorHoward Chu <hyc@openldap.org>
Thu, 27 Mar 2003 04:30:05 +0000 (04:30 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 27 Mar 2003 04:30:05 +0000 (04:30 +0000)
must destroy existing indexes and run slapindex to regenerate.

servers/slapd/back-bdb/dbcache.c

index 5a07911d6d45a8369354008d7513c188464056bc..d7ce96003f4dbf65308f86c6005dd1bfb96833be 100644 (file)
@@ -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 );