• 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
opt_range.cc 361 KB