• Ramil Kalimullin's avatar
    Fix for bug#57272: crash in rpad() when using utf8 · 5a2a6c2c
    Ramil Kalimullin authored
    Problem: if multibyte and binary string arguments passed to 
    RPAD(), LPAD() or INSERT() functions, they might return 
    wrong results or even lead to a server crash due to missed
    character set convertion.
    
    Fix: perform the convertion if necessary.
    5a2a6c2c
item_strfunc.cc 92.4 KB