• Igor Babaev's avatar
    Fixed LP bug #806510. · 5ead4083
    Igor Babaev authored
    The bug was caused by an incorrect code of the function
    Item_direct_view_ref::replace_equal_field introduced in the
    patch for bugs 717577, 724942. The function erroneously
    returned the wrapped field instead of the Item_direct_view_ref
    object itself in the cases when no replacement happened.
    
    The bug masked two other minor bugs that could result in not
    quite correct output of the EXPLAIN command for some queries.
    They were fixed in the patch as well.
     
    5ead4083
join_cache.result 172 KB