• Igor Babaev's avatar
    Fixed mdev-6706 Wrong result (missing rows) · abc12339
    Igor Babaev authored
    with joins, SQ, ORDER BY, semijoin=on
    
    A bug in get_sort_by_table() could mislead the function
    setup_semijoin_dups_elimination(). As a result the optimizer
    could produce invalid execution plans for queries with ORDER BY
    and subquery predicates that could be converted to semi-joins.
    abc12339
sql_select.cc 787 KB