Addition of checksum handling in COM_BINLOG_DUMP

This commit is contained in:
Mark Riddoch
2015-02-05 09:15:45 +00:00
parent 07536611d3
commit b9f36d6489
2 changed files with 6 additions and 0 deletions

View File

@ -1079,6 +1079,8 @@ uint32_t chksum;
ptr = GWBUF_DATA(queue);
len = extract_field(ptr, 24);
binlognamelen = len - 11;
if (! slave->nocrc)
binlognamelen -= 4;
ptr += 4; // Skip length and sequence number
if (*ptr++ != COM_BINLOG_DUMP)
{