• igor@rurik.mysql.com's avatar
    Fixed bug #18237. · f4851259
    igor@rurik.mysql.com authored
    The code in opt_sum_query that prevented the COUNT/MIN/MAX 
    optimization from being applied to outer joins  was not adjusted 
    after introducing nested joins. As a result if an outer join
    contained a reference to a view as an inner table the code of
    opt_sum_query missed the presence of an on expressions and
    erroneously applied the mentioned optimization.
    f4851259
view.result 76.4 KB