• Galina Shalygina's avatar
    MDEV-18383: Missing rows with pushdown condition defined with IF-function · 2faefe5f
    Galina Shalygina authored
    using Item_cond
    
    This bug is similar to the bug MDEV-16765.
    It appears because of the wrong pushdown into HAVING clause while this
    pushdown shouldn't be made at all.
    This happens because function that checks if Item_cond can be pushed
    always returns that it can be pushed.
    
    To fix it new method Item_cond::excl_dep_on_table() was added.
    2faefe5f
derived_cond_pushdown.test 59.8 KB