Added checksum calculations for events larger than 2^24 bytes
The checksums are now properly calculated for large events that span multiple SQL packets.
This commit is contained in:
@ -70,6 +70,7 @@
|
||||
#define GW_MYSQL_READ 0
|
||||
#define GW_MYSQL_WRITE 1
|
||||
#define MYSQL_HEADER_LEN 4L
|
||||
#define MYSQL_CHECKSUM_LEN 4L
|
||||
|
||||
#define GW_MYSQL_PROTOCOL_VERSION 10 // version is 10
|
||||
#define GW_MYSQL_HANDSHAKE_FILLER 0x00
|
||||
|
Reference in New Issue
Block a user