Commit d63df3a3 authored by holyfoot@mysql.com's avatar holyfoot@mysql.com

Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1

into mysql.com:/home/hf/work/mysql-4.1.ssj
parents 2f9a28b4 1851a38b
......@@ -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
......
......@@ -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)
{
......
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