Documentation Home
MySQL Internals Manual


MySQL Internals Manual  /  ...  /  Binary Protocol Resultset

14.7.1 Binary Protocol Resultset

Binary Protocol Resultset is similar to the ProtocolText::Resultset. It just contains the rows in Binary Protocol Resultset Row format.

ProtocolBinary::Resultset:

Packets:

Example
01 00 00 01 01|1a 00 00    02 03 64 65 66 00 00 00    ..........def...
04 63 6f 6c 31 00 0c 08    00 06 00 00 00 fd 00 00    .col1...........
1f 00 00|05 00 00 03 fe    00 00 02 00|09 00 00 04    ................
00 00 06 66 6f 6f 62 61    72|05 00 00 05 fe 00 00    ...foobar.......
02 00                                                 ..

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
  Posted by Zhenda Li on June 5, 2018
There is an EOF_Packet after ColumnDefinitions if the CLIENT_DEPRECATE_EOF client capability flag is not set.
Sign Up Login You must be logged in to post a comment.