]> git.sur5r.net Git - openldap/commitdiff
Fix, index databases were not being closed on shutdown.
authorHoward Chu <hyc@openldap.org>
Thu, 6 Dec 2001 03:24:09 +0000 (03:24 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 6 Dec 2001 03:24:09 +0000 (03:24 +0000)
servers/slapd/back-bdb/dbcache.c

index 580506e807a24da1a1cece66d9b422f6da60f2ad..4490c105ccedd2593fff9871b8b330a3fa0fb63d 100644 (file)
@@ -90,6 +90,7 @@ bdb_db_cache(
 
        bdb->bi_databases[i+1] = NULL;
        bdb->bi_databases[i] = db;
+       bdb->bi_ndatabases = i+1;
 
        *dbout = db->bdi_db;