Commit 5cc6f2ed authored by unknown's avatar unknown
Browse files

Fix for bug #10493 (SJIS fields are not correctly saved)


strings/ctype-sjis.c:
  pos should be decreased
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parent 66446b31
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -75,6 +75,7 @@ hf@bisonxp.(none)
hf@deer.(none)
hf@deer.mysql.r18.ru
hf@genie.(none)
holyfoot@mysql.com
igor@hundin.mysql.fi
igor@linux.local
igor@rurik.mysql.com
+1 −1
Original line number Diff line number Diff line
@@ -4576,7 +4576,7 @@ uint my_well_formed_len_sjis(CHARSET_INFO *cs __attribute__((unused)),
{
  const char *b0= b;
  *error= 0;
  while (pos && b < e)
  while (pos-- && b < e)
  {
    if ((uchar) b[0] < 128)
    {