Commit 48238e1b authored by bar@mysql.com's avatar bar@mysql.com

Merge mysql.com:/usr/home/bar/mysql-4.1.b13487

into  mysql.com:/usr/home/bar/mysql-4.1
parents 3369f5bd ceb541e4
...@@ -1157,10 +1157,16 @@ static bool add_line(String &buffer,char *line,char *in_string, ...@@ -1157,10 +1157,16 @@ static bool add_line(String &buffer,char *line,char *in_string,
#ifdef USE_MB #ifdef USE_MB
int l; int l;
if (use_mb(charset_info) && if (use_mb(charset_info) &&
(l = my_ismbchar(charset_info, pos, strend))) { (l= my_ismbchar(charset_info, pos, strend)))
{
if (!*ml_comment)
{
while (l--) while (l--)
*out++ = *pos++; *out++ = *pos++;
pos--; pos--;
}
else
pos+= l - 1;
continue; continue;
} }
#endif #endif
......
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