mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge mysql.com:/usr/home/bar/mysql-4.1
into mysql.com:/usr/home/bar/mysql-5.0 client/mysql.cc: after merge fix.
This commit is contained in:
@ -1193,11 +1193,16 @@ static bool add_line(String &buffer,char *line,char *in_string,
|
||||
#ifdef USE_MB
|
||||
int length;
|
||||
if (use_mb(charset_info) &&
|
||||
(length= my_ismbchar(charset_info, pos, end_of_line)))
|
||||
(lenght= my_ismbchar(charset_info, pos, end_of_line)))
|
||||
{
|
||||
while (length--)
|
||||
*out++ = *pos++;
|
||||
pos--;
|
||||
if (!*ml_comment)
|
||||
{
|
||||
while (lenght--)
|
||||
*out++ = *pos++;
|
||||
pos--;
|
||||
}
|
||||
else
|
||||
pos+= lenght - 1;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user