38efd17 Ticket #48146 - async simple paged results issue; need to close a small window for a pr index competed among multiple threads.

Authored and Committed by nhosoi 8 years ago
    Ticket #48146 - async simple paged results issue; need to close a small window for a pr index competed among multiple threads.
    
    Description: If multiple async simple paged results requests come in via one
    connection simultaneously, the same slot in the paged results array in the
    connection could be shared.  If one of them has to do paging, the search
    request object stashed in the paged result array slot could be freed by the
    other request if it has the shorter life cycle.
    
    These 3 reqs use the same paged results array slot.
    req0: <--------------><----x
    page1           page2
    req1: <----->
    req2:              <------->
    frees search result object of req0
    
    (cherry picked from commit 4ae5a81d2e4d0b219cc8c19f0f7ab30c54f08ea3)
    
        
file modified
+46 -47