Browse Source

Revert "513019 nsslapd-lookthroughlimit is not respected"

This reverts commit 1e3138f1d41562d6f42a8fdf0934af23219bb8e1.

Misunderstood nsslapd-lookthroughlimit.  Regardless of the filter test result,
once hit the lookthroughlimit, search should be aborted there.  That's what
the original code does and that is correct.
Noriko Hosoi 16 years ago
parent
commit
85aefb457a
1 changed files with 0 additions and 3 deletions
  1. 0 3
      ldap/servers/slapd/back-ldbm/ldbm_search.c

+ 0 - 3
ldap/servers/slapd/back-ldbm/ldbm_search.c

@@ -1410,9 +1410,6 @@ ldbm_back_next_search_entry_ext( Slapi_PBlock *pb, int use_extension )
                   rc = SLAPI_FAIL_GENERAL;
                   goto bail;
               }
-              /* Since the filter test failed, the result won't be sent.
-               * sr_lookthroughcount should be decremented. */
-              --sr->sr_lookthroughcount;
           }
         }
     }