Commit 11b7605a authored by ram@mysql.r18.ru's avatar ram@mysql.r18.ru

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

into mysql.r18.ru:/usr/home/ram/work/4.1
parents 4b9c7f83 bc753e13
......@@ -1094,12 +1094,11 @@ static bool add_line(String &buffer,char *line,char *in_string,
{ // Add found char to buffer
if (inchar == *in_string)
*in_string= 0;
else if (!*ml_comment)
{
if (!*in_string && (inchar == '\'' || inchar == '"' || inchar == '`'))
*in_string= (char) inchar;
else if (!*ml_comment && !*in_string &&
(inchar == '\'' || inchar == '"' || inchar == '`'))
*in_string= (char) inchar;
if (!*ml_comment)
*out++= (char) inchar;
}
}
}
if (out != line || !buffer.is_empty())
......
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