The eof packet marks the end of a resultset and returns status and warnings.
When testing for an EOF packet, the packet size must be less than 9 bytes in length. Resultset can send data that begins with a 0xfe byte, but then the packet length will be greater than 9.
- int<1> 0xfe : EOF header
- int<2> warning count
- int<2> server status
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.