Fixed wrong feof check in read_line, see 52019

This commit is contained in:
Bjorn Munch 2010-10-20 11:41:51 +02:00
commit e4f9ead140

View file

@ -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))