• unknown's avatar
    Bug#22052 Trailing spaces are not removed from UNICODE fields in an index · de70be9d
    unknown authored
      Fix: using charset-aware functions cs->cset->lengthsp() and cs->cset->fill()
      instead of single byte code which is not UCS2 compatible.
    
    
    myisam/mi_key.c:
      Using character-set aware functions to trim and append spaces.
    myisam/mi_open.c:
      Initialize charset for BINARY/VARBINARY to my_charset_bin,
          instead of NULL
    mysql-test/r/ctype_ucs.result:
      Adding test case
    mysql-test/t/ctype_ucs.test:
      Adding test case
    de70be9d
mi_open.c 38.5 KB