e5405e6 Ticket #47504 idlistscanlimit per index/type/value

Authored and Committed by rmeggins 10 years ago
    Ticket #47504 idlistscanlimit per index/type/value
    
    https://fedorahosted.org/389/ticket/47504
    Reviewed by: nhosoi (Thanks!)
    Branch: 389-ds-base-1.3.1
    Fix Description: This patch broke replication.  The problem is that we cannot
    compare the allidslimit to 0 unless the value is explicitly set by
    index_get_allids.  The fix is to only return ALLIDS if the allidslimit was
    explicitly set to 0 by index_get_allids.
    Platforms tested: RHEL6 x86_64
    Flag Day: no
    Doc impact: no
    (cherry picked from commit 058d01d7479204a2507dab822cd81e32c37be862)