Commit 441e3b24 authored by Bjorn Munch's avatar Bjorn Munch

Fixed wrong feof check in read_line, see 52019

parent daa70e0a
......@@ -5733,9 +5733,9 @@ int read_line(char *buf, int size)
for (i= 1; i < charlen; i++)
{
c= my_getc(cur_file->file);
if (feof(cur_file->file))
goto found_eof;
c= my_getc(cur_file->file);
*p++ = c;
}
if (! my_ismbchar(charset_info, mb_start, p))
......
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