• Igor Babaev's avatar
    Fixed bug mdev-7992. · ac78927a
    Igor Babaev authored
    'Not exists' optimization can be used for nested outer joins
    only if IS NULL predicate from the WHERE condition is activated.
    So we have to check that all guards that wrap this predicate
    are in the 'open' state.
    This patch supports usage of 'Not exists' optimization for any
    outer join, no matter how it's nested in other outer joins.
    
    This patch is also considered as a proper fix for bugs
    #49322/#58490 and LP #817360.
    ac78927a
join_nested.test 38.1 KB