mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 16:44:29 +02:00
Fixed wrong feof check in read_line, see 52019
This commit is contained in:
parent
e533c7cc10
commit
e4f9ead140
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue