• unknown's avatar
    Fixed bug lp:888456 · 314c3774
    unknown authored
    Analysis:
    The class member QUICK_GROUP_MIN_MAX_SELECT::seen_first_key
    was not reset between subquery re-executions. Thus each
    subsequent execution continued from the group that was
    reached by the previous subquery execution. As a result
    loose scan reached end of file much earlier, and returned
    empty result where it shouldn't.
    
    Solution:
    Reset seen_first_key before each re-execution of the
    loose scan.
    314c3774
group_min_max.test 51.7 KB