• Sidney Cammeresi's avatar
    when printing Item_in_optimizer, use precedence of wrapped Item · 114a8436
    Sidney Cammeresi authored
    when Item::print() is called with the QT_PARSABLE flag, WHERE i NOT IN
    (SELECT ...) gets printed as WHERE !i IN (SELECT ...) instead of WHERE
    !(i in (SELECT ...)) because Item_in_optimizer returns DEFAULT_PRECEDENCE.
    it should return the precedence of the inner operation.
    114a8436
subselect_no_scache.result 250 KB