mysql.cc:
After merge fix. client/mysql.cc: After merge fix.
This commit is contained in:
parent
344a892b8d
commit
9e3df6cc17
@ -1193,16 +1193,16 @@ static bool add_line(String &buffer,char *line,char *in_string,
|
|||||||
#ifdef USE_MB
|
#ifdef USE_MB
|
||||||
int length;
|
int length;
|
||||||
if (use_mb(charset_info) &&
|
if (use_mb(charset_info) &&
|
||||||
(lenght= my_ismbchar(charset_info, pos, end_of_line)))
|
(length= my_ismbchar(charset_info, pos, end_of_line)))
|
||||||
{
|
{
|
||||||
if (!*ml_comment)
|
if (!*ml_comment)
|
||||||
{
|
{
|
||||||
while (lenght--)
|
while (length--)
|
||||||
*out++ = *pos++;
|
*out++ = *pos++;
|
||||||
pos--;
|
pos--;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
pos+= lenght - 1;
|
pos+= length - 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user