• V Narayanan's avatar
    Bug#46448 trailing spaces are not ignored when user collation maps space != 0x20 · 3b02f76a
    V Narayanan authored
    In MySQL when the mapping for space is changed to something other than
    0x20 by defining a different collation, then space is not ignored when
    comparing two strings.
    
    This was happening because the function that performs the comparison
    of two strings while ignoring ending spaces, was comparing the collation
    value of a space with the ascii value of the ' ' character. This should
    be changed to do comparison between the collated values.
    3b02f76a
ctype-simple.c 38.8 KB