Commit 32024bfc authored by holyfoot@mysql.com's avatar holyfoot@mysql.com

Merge mysql.com:/home/hf/work/mysql-4.1.ssj

into mysql.com:/home/hf/work/mysql-5.0.clean
parents cde9f56b d63df3a3
......@@ -4591,7 +4591,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