b116d7e Ticket #47824 - paged results control is not working in some cases when we have a subsuffix.

Authored and Committed by nhosoi 9 years ago
    Ticket #47824 - paged results control is not working in some cases when we have a subsuffix.
    
    Bug Description: When a simple paged result search is run against
    multiple backends, subsuffix backends were not correctly set to the
    next loop when crossing the backend boundary.
    
    Fix Description: This patch changes the logic to detect the page
    search finished and set the next backend correctly to the paged-
    results handle.  Also, when reusing the paged result handle in
    pagedresults_parse_control_value, increment the refcnt.
    
    https://fedorahosted.org/389/ticket/47824
    
    Reviewed by mreynolds@redhat.com (Thank you, Mark!!)
    
        
file modified
+10 -7