• Alexander Barkov's avatar
    MDEV-6661 PI() does not work well in UCS2/UTF16/UTF32 context · 1427e1db
    Alexander Barkov authored
    MDEV-6666 Malformed result for CONCAT(utf8_column, binary_string)
    
    Item_static_string_func::safe_charset_converter() and 
    Item_hex_string::safe_charset_converter() did not
    handle character sets with mbminlen>1 properly, as well as
    did not handle conversion from binary to multi-byte well.
    
    Introducing Item::const_charset_converter(), to reuse it in a number
    of Item_*::safe_charset_converter().
    1427e1db
item_strfunc.h 32.2 KB