• sergefp@mysql.com's avatar
    Fix for BUG#6976: · f78a6059
    sergefp@mysql.com authored
    In Item_ref::Item_ref set maybe_null (and other fields fix_fields sets) to be the 
    same as in (*ref), because Item_ref::fix_fields() will not be called.  Previously 
    maybe_null was 0 always and this produced a bogus state where 
    maybe_null==0 && is_null() == true 
    which broke evaluation for some upper-level Items, like AND and OR.
    f78a6059
group_by.result 24.4 KB