• Jorgen Loland's avatar
    Bug#57882 - Item_func_conv_charset::val_str(String*): · eeb8bce9
    Jorgen Loland authored
                Assertion `fixed == 1' failed
    
    (also fixes duplicate bug 57515)
    
    agg_item_set_converter() (item.cc) handles conversion of 
    character sets by creating a new Item. fix_fields() is then 
    called on this newly created item. Prior to this patch, it was
    not checked whether fix_fields() was successful or not. Thus, 
    agg_item_set_converter() would return success even when an 
    error occured. This patch makes it return error (TRUE) if 
    fix_fields() fails.
    eeb8bce9
errors.result 5.29 KB