Documentation Home
MySQL Internals Manual
Download this Manual
EPUB - 0.8Mb


MySQL Internals Manual  /  ...  /  Binary Protocol Resultset Row

14.7.2 Binary Protocol Resultset Row

A Binary Protocol Resultset Row is made up of the NULL bitmap containing as many bits as we have columns in the resultset + 2 and the values for columns that are not NULL in the Binary Protocol Value format.

ProtocolBinary::ResultsetRow:

row of a binary resultset (COM_STMT_EXECUTE)

Payload
1              packet header [00]
string[$len]   NULL-bitmap, length: (column-count + 7 + 2) / 8
string[$len]   values
Example
09 00 00 04 00 00 06 66 6f 6f 62 61 72

User Comments
Sign Up Login You must be logged in to post a comment.