Maxrows filter uses new constants: MYSQL_EOF_PACKET_LEN and MYSQL_OK_PACKET_MIN_LEN

New constants MYSQL_EOF_PACKET_LEN, MYSQL_OK_PACKET_MIN_LEN are now
used by max rows filter
This commit is contained in:
MassimilianoPinto
2017-01-18 15:47:04 +01:00
parent e624586673
commit cfcd1dc38f
3 changed files with 9 additions and 11 deletions

View File

@ -73,6 +73,7 @@ MXS_BEGIN_DECLS
#define MYSQL_HEADER_LEN 4L
#define MYSQL_CHECKSUM_LEN 4L
#define MYSQL_EOF_PACKET_LEN 9L
#define MYSQL_OK_PACKET_MIN_LEN 11L
/**
* Offsets and sizes of various parts of the client packet. If the offset is