From: Howard Chu Date: Thu, 6 Dec 2001 03:24:09 +0000 (+0000) Subject: Fix, index databases were not being closed on shutdown. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~755 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=52beecbdf4934c3ec95cfdda5fb1e8e45103f906;p=openldap Fix, index databases were not being closed on shutdown. --- diff --git a/servers/slapd/back-bdb/dbcache.c b/servers/slapd/back-bdb/dbcache.c index 580506e807..4490c105cc 100644 --- a/servers/slapd/back-bdb/dbcache.c +++ b/servers/slapd/back-bdb/dbcache.c @@ -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;