Commit cd12c26a authored by unknown's avatar unknown

A fix (bug #9309: Wrong order in INFORMATION_SCHEMA)



strings/ctype-utf8.c:
  A fix (bug #9309: Wrong order in INFORMATION_SCHEMA)
  We should clear the last byte, not the next one.
parent 226628d1
...@@ -2276,7 +2276,7 @@ static int my_strnxfrm_utf8(CHARSET_INFO *cs, ...@@ -2276,7 +2276,7 @@ static int my_strnxfrm_utf8(CHARSET_INFO *cs,
} }
if (dst < de) /* Clear the last byte, if "dstlen" was an odd number */ if (dst < de) /* Clear the last byte, if "dstlen" was an odd number */
*de= 0x00; *dst= 0x00;
return dstlen; return dstlen;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment