• Igor Babaev's avatar
    Fixed MDEV-13994 Bad join results with orderby_uses_equalities=on. · dcbf2823
    Igor Babaev authored
    This patch effectively blocks the optimization that uses multiple
    equalities for ORDER BY to remove tmp table in the case when
    the first table happens to be the result of materialization of
    a semi-join nest. Currently there is no code at the execution level
    that would support the optimization in this case.
    dcbf2823
order_by.test 86 KB