• Igor Babaev's avatar
    Fixed the bug mdev-7791. · 934b8312
    Igor Babaev authored
    When an IN subquery predicate was converted to a semi-join that were
    materialized and the result of the materialization happened to be
    the last in the execution plan then any conjunctive condition with RAND()
    turned out to be lost.
    
    Fixed by attaching this condition to the last top base table.
    934b8312
subselect_sj2_mat.test 9.21 KB