• Varun Gupta's avatar
    MDEV-15555: select from DUAL where false yielding wrong result when in a IN · 2dd4e50d
    Varun Gupta authored
    For the query having an IN subquery with no tables, we were converting the subquery with an expression between
    the left part and the select list of the subquery . This can give incorrect results when we have a condition
    in the subquery with a dual table (as this is treated as a no table).
    
    The fix is that we don't do this conversion when we have conds in the subquery with a dual table.
    2dd4e50d
item_subselect.cc 174 KB