From 52beecbdf4934c3ec95cfdda5fb1e8e45103f906 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 6 Dec 2001 03:24:09 +0000 Subject: [PATCH] Fix, index databases were not being closed on shutdown. --- servers/slapd/back-bdb/dbcache.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5