summaryrefslogtreecommitdiff
path: root/include
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
commit8da22a75f3bc8b42d265242411e3edefdc630079 (patch)
tree9cd301b009b02b51bfaeaa62de95ffc1fd48712a /include
parent1b3d5da50e3206a7cfc5dc7704b6d5af568ba382 (diff)
downloadmariadb-git-8da22a75f3bc8b42d265242411e3edefdc630079.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.
Diffstat (limited to 'include')
-rw-r--r--include/m_ctype.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/m_ctype.h b/include/m_ctype.h
index 06cbfd779c8..42e8f88cc0e 100644
--- a/include/m_ctype.h
+++ b/include/m_ctype.h
@@ -539,6 +539,11 @@ size_t my_strnxfrm_unicode(CHARSET_INFO *,
uchar *dst, size_t dstlen,
const uchar *src, size_t srclen);
+size_t my_strnxfrm_unicode_full_bin(CHARSET_INFO *,
+ uchar *dst, size_t dstlen,
+ const uchar *src, size_t srclen);
+size_t my_strnxfrmlen_unicode_full_bin(CHARSET_INFO *, size_t);
+
int my_wildcmp_unicode(CHARSET_INFO *cs,
const char *str, const char *str_end,
const char *wildstr, const char *wildend,