summaryrefslogtreecommitdiff
path: root/mysql-test/r/alias.result
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2010-08-31 17:54:26 +0400
committerAlexander Nozdrin <alik@sun.com>2010-08-31 17:54:26 +0400
commit8b4af2a2b45e3f14024bf797b728a7207881be92 (patch)
tree9cd301b009b02b51bfaeaa62de95ffc1fd48712a /mysql-test/r/alias.result
parent90eef29012335ee24d6d281ba1c40da3ff3821c1 (diff)
downloadmariadb-git-8b4af2a2b45e3f14024bf797b728a7207881be92.tar.gz
Bug#55980 Character sets: supplementary character _bin ordering is wrong
Problem: - ORDER BY for utf8mb4_bin, utf16_bin and utf32_bin returned results in a wrong order, because old functions (supporting only BMP range) were used to handle these collations. - Additionally, utf16_bin did not sort supplementary characters between U+D700 and U+E000, as WL#1213 specification specified. include/m_ctype.h: Adding prototypes. mysql-test/include/ctype_filesort2.inc: Adding a new shared test file. mysql-test/t/ctype_utf8mb4.test: Adding tests. strings/ctype-ucs2.c: - Fixing my_strncoll[sp]_utf16_bin to compare binary representation instead of code points, to make columns with indexes sort correct. - Fixing my_collation_handler_utf32_bin and my_collation_handler_utf16_bin to use new functions. strings/ctype-utf8.c: - Adding my_strnxfrm[len]_unicode_fill_bin() to handle utf8mb4_bin, utf16_bin and utf32_bin, using 3 bytes per weight. This function also performs special reordering in case of utf16_bin. - Fixing my_collation_utf8mb4_bin handler to use the new function.
Diffstat (limited to 'mysql-test/r/alias.result')
0 files changed, 0 insertions, 0 deletions