diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2009-07-23 16:00:45 -0700 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2009-07-23 16:00:45 -0700 |
commit | 85aefb457aa7e1d210fcbc44f09f1b32f991c240 (patch) | |
tree | 1372d46fe48e13cf496873d2c1dc0b4230680405 /ldap/servers | |
parent | c3f6ff604cf0e0458a50889f15c50e59297e1ddf (diff) | |
download | ds-85aefb457aa7e1d210fcbc44f09f1b32f991c240.tar.gz ds-85aefb457aa7e1d210fcbc44f09f1b32f991c240.tar.xz ds-85aefb457aa7e1d210fcbc44f09f1b32f991c240.zip |
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.
Diffstat (limited to 'ldap/servers')
-rw-r--r-- | ldap/servers/slapd/back-ldbm/ldbm_search.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ldap/servers/slapd/back-ldbm/ldbm_search.c b/ldap/servers/slapd/back-ldbm/ldbm_search.c index ead99388..dacdb098 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_search.c +++ b/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; } } } |