• bar@mysql.com's avatar
    ctype_ucs.result, ctype_ucs.test, ctype_utf8.result, ctype_utf8.test: · 46536c3a
    bar@mysql.com authored
      Fixing tests accordingly.
    ctype-ucs2.c:
      The same fix for UCS2.
    ctype-utf8.c:
      Bug #9557
      MyISAM utf8 table crash
      The problem was that my_strnncollsp_xxx could
      return big value in the range 0..0xffff.
      for some constant pairs it could return 32738,
      which is defined as MI_FOUND_WRONG_KEY in
      myisamdef.h. As a result, table considered to
      be crashed. 
      Fix to return -1,0 or 1.
    46536c3a
ctype-utf8.c 102 KB