Binary Protocol Resultset is similar to the
ProtocolText::Resultset
.
It just contains the rows in
Binary Protocol
Resultset Row format.
- ProtocolBinary::Resultset:
-
Packets:
lenenc_int
column_count > 0column_count *
Protocol::ColumnDefinition
none or many
ProtocolBinary::ResultsetRow
-
Note
If the
CLIENT_DEPRECATE_EOF
client capability flag is set,OK_Packet
is sent; elseEOF_Packet
is sent.
- 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 ..