• timour/timka@lamia.home's avatar
    Fix for BUG#21007. · 39ada211
    timour/timka@lamia.home authored
    The problem was that store_top_level_join_columns() incorrectly assumed
    that the left/right neighbor of a nested join table reference can be only
    at the same level in the join tree.
    
    The fix checks if the current nested join table reference has no immediate
    left/right neighbor, and if so chooses the left/right neighbors of the
    nearest upper level, where these references are != NULL.
    39ada211
group_min_max.test 42.4 KB