Bug#22052 Trailing spaces are not removed from UNICODE fields in an index
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
Showing
Please register or sign in to comment