]> git.sur5r.net Git - openldap/commitdiff
Use computed filters to pass in search scope.
authorHoward Chu <hyc@openldap.org>
Wed, 30 Apr 2003 07:46:01 +0000 (07:46 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 30 Apr 2003 07:46:01 +0000 (07:46 +0000)
servers/slapd/back-bdb/search.c

index 410156f738ebc94d931ccfec61c2142e66957320..b43c13e585906bd0049537e66c6163268022425b 100644 (file)
@@ -1572,6 +1572,7 @@ static int search_candidates(
        f.f_and = &nf;
        /* Dummy; we compute scope separately now */
        nf.f_choice = SLAPD_FILTER_COMPUTED;
+       nf.f_result = SLAPD_COMPARE_UNDEFINED;
        nf.f_next = xf.f_or == op->oq_search.rs_filter
                ? op->oq_search.rs_filter : &xf ;
        /* Filter depth increased again, adding dummy clause */