diff options
| author | Noriko Hosoi <nhosoi@redhat.com> | 2009-01-09 21:33:39 +0000 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@redhat.com> | 2009-01-09 21:33:39 +0000 |
| commit | d5c8d88338a3806bd38af793927ac30ec302585f (patch) | |
| tree | 66be2a509908a566eb7eac6f03ae05b64d7c267f /ldap/admin/src/scripts | |
| parent | 962ec2010e44a85088038ebf1f1e393baf49796d (diff) | |
| download | ds-d5c8d88338a3806bd38af793927ac30ec302585f.tar.gz ds-d5c8d88338a3806bd38af793927ac30ec302585f.tar.xz ds-d5c8d88338a3806bd38af793927ac30ec302585f.zip | |
Resolves: #464854
Summary: ldapsearch with size limit (-z) doesn't work with OR filter and range search
Description:
SIZELIMIT is checked in index_range_read to eliminate the unnecessary data
retrieval. But when the filter contains a range search which is connected by
AND, then we should not do sizelimit. There was a bug in the function which
sets is_and. The flag should have been cleared only when the function set it
to 1. Instead, it was cleared each time the function is called. It let
index_range_read stop reading when it reaches sizelimit even though it should
not have.
Diffstat (limited to 'ldap/admin/src/scripts')
0 files changed, 0 insertions, 0 deletions
