is enabled, the EOF packet contains a warning count and status
In the MySQL client/server protocol, EOF and OK packets serve the same purpose, to mark the end of a query execution result. Due to changes in MySQL 5.7 in the OK packet (such as session state tracking), and to avoid repeating the changes in the EOF packet, the EOF packet is deprecated as of MySQL 5.7.5.
the EOF packet may appear in places where a
may appear. You must check whether the packet length is less
than 9 to make sure that it is a EOF packet.
|int<2>||number of warnings|
a 4.1 EOF packet with: 0 warnings, AUTOCOMMIT enabled.