From 9c34d6c8c7fd5e677fe8b772831a6ca8ab07d8f9 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 25 Jan 2009 04:07:58 +0000 Subject: [PATCH] Dynamically added databases did not have controls init'd --- servers/slapd/backend.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 2698c295ef..fd11c69c23 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -612,6 +612,9 @@ backend_db_init( nbackends--; } } else { + if ( !bi->bi_nDB ) { + backend_init_controls( bi ); + } bi->bi_nDB++; } return( be ); -- 2.39.5