Addition of checksum handling in COM_BINLOG_DUMP
This commit is contained in:
@ -354,6 +354,10 @@ int n;
|
||||
unsigned long filelen = 0;
|
||||
struct stat statb;
|
||||
|
||||
if (!file)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
if (fstat(file->fd, &statb) == 0)
|
||||
filelen = statb.st_size;
|
||||
if (pos >= filelen)
|
||||
|
||||
Reference in New Issue
Block a user