• Georgi Kodinov's avatar
    Bug #47106: Crash / segfault on adding EXPLAIN to a non-crashing · 5dda6c18
    Georgi Kodinov authored
     query
          
    The fix for bug 46749 removed the check for OUTER_REF_TABLE_BIT 
    and substituted it for a check on the presence of 
    Item_ident::depended_from.
    Removing it altogether was wrong : OUTER_REF_TABLE_BIT should 
    still be checked in addition to depended_from (because it's not 
    set in all cases and doesn't contradict to the check of depended_from).
    Fixed by returning the old condition back as a compliment to the 
    new one.
    5dda6c18
subselect4.test 1.45 KB