• Alexander Nozdrin's avatar
    Cherry-picking patch for Bug#55980. · 316e9d63
    Alexander Nozdrin authored
    Original changeset:
    ------------------------------------------------------------
    revno: 3197
    revision-id: alik@sun.com-20100831135426-h5a4s2w6ih1d8q2x
    parent: magnus.blaudd@sun.com-20100830120632-u3xzy002mdwueli8
    committer: Alexander Nozdrin <alik@sun.com>
    branch nick: mysql-5.5-bugfixing
    timestamp: Tue 2010-08-31 17:54:26 +0400
    message:
      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.
    ------------------------------------------------------------
    316e9d63
ctype-utf8.c 207 KB