]> git.sur5r.net Git - openldap/commitdiff
Fix search limits due to frontend limit_check change
authorHoward Chu <hyc@openldap.org>
Tue, 6 Apr 2004 23:29:33 +0000 (23:29 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 6 Apr 2004 23:29:33 +0000 (23:29 +0000)
servers/slapd/overlays/pcache.c

index ff1964b7fcf6736bb253e7d1546583e786ebe6a6..8c74437d474443e19b6a9ecfa4187424655730e7 100644 (file)
@@ -869,8 +869,8 @@ remove_query_data (
        op->o_req_ndn = op->o_bd->be_nsuffix[0];
        op->ors_scope = LDAP_SCOPE_SUBTREE;
        op->ors_deref = LDAP_DEREF_NEVER;
-       op->ors_slimit = 0;
-       op->ors_tlimit = 0;
+       op->ors_slimit = -1;
+       op->ors_tlimit = -1;
        op->ors_filter = &filter;
        op->ors_filterstr.bv_val = filter_str;
        op->ors_filterstr.bv_len = strlen(filter_str);