• Galina Shalygina's avatar
    MDEV-16088: Pushdown into materialized views/derived tables doesn't · 8b26fea8
    Galina Shalygina authored
                work in the IN subqueries
    
    The pushdown into the materialized derived table/view wasn't done because
    optimize() for the derived was called before any conditions that can
    be pushed down were extracted. So optimize() in
    convert_join_subqueries_to_semijoins() method is called too early and is
    unnecessary. The second optimize() call in mysql_handle_single_derived()
    is enough.
    8b26fea8
derived_cond_pushdown.test 52.6 KB