]> git.sur5r.net Git - openldap/commitdiff
More for ITS#5881
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 26 Jan 2009 22:02:41 +0000 (22:02 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 26 Jan 2009 22:02:41 +0000 (22:02 +0000)
servers/slapd/backend.c

index 2698c295ef98fcdc65171202e1213012f7cfab8d..fd11c69c2356ab3e2055a96927a94704e3ad06d8 100644 (file)
@@ -612,6 +612,9 @@ backend_db_init(
                        nbackends--;
                }
        } else {
+               if ( !bi->bi_nDB ) {
+                       backend_init_controls( bi );
+               }
                bi->bi_nDB++;
        }
        return( be );