Commit cd12c26a authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */
    *de= 0x00;
    *dst= 0x00;
  
  return dstlen;
}