Removed failed fstat message

Removed failed fstat message
This commit is contained in:
MassimilianoPinto
2015-11-04 17:54:41 +01:00
parent 685e674009
commit e8c1c82265

View File

@ -428,11 +428,6 @@ struct stat statb;
}
if (fstat(file->fd, &statb) == 0)
filelen = statb.st_size;
else
{
snprintf(errmsg, BINLOG_ERROR_MSG_LEN, "Invalid size of binlog file, pos %lu", pos);
return NULL;
}
if (pos > filelen)
{