Structure
MySQLProtocol
struct MySQLProtocol
Topics
Structures
MySQLProtocol.BinaryResultSetRowA 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.MySQLProtocol.COM_QUERY14.6.4COM_QUERYMySQLProtocol.COM_QUERY_ResponseThe query-response packet is a meta packet which can be one ofMySQLProtocol.COM_QUITtells the server that the client wants to close the connectionMySQLProtocol.COM_STMT_CLOSECOM_STMT_CLOSEdeallocates a prepared statementMySQLProtocol.COM_STMT_EXECUTECOM_STMT_EXECUTEasks the server to execute a prepared statement as identified by stmt-id.MySQLProtocol.COM_STMT_PREPARECOM_STMT_PREPAREcreates a prepared statement from the passed query string.MySQLProtocol.COM_STMT_PREPARE_OK14.7.4.1COM_STMT_PREPAREResponseMySQLProtocol.CapabilityFlagsThe capability flags are used by the client and server to indicate which features they support and want to use.MySQLProtocol.CharacterSetA character set is defined in the protocol as a integer.MySQLProtocol.ColumnDefinition41Protocol::ColumnDefinition41MySQLProtocol.ColumnFlagsThese don’t seem to be documented anywhere.MySQLProtocol.DataTypeTable 14.4 Column TypesMySQLProtocol.ERR_Packet14.1.3.2ERR_PacketMySQLProtocol.ErrorCodeMySQLProtocol.ExecuteFlagsMySQLProtocol.HandshakeV10Protocol::HandshakeMySQLProtocol.NullBitmap14.7.2.1 NULL-BitmapMySQLProtocol.OK_Packet14.1.3.1OK_PacketMySQLProtocol.SSLRequestProtocol::SSLRequest:MySQLProtocol.StatusFlagsThe status flags are a bit-field.MySQLProtocol.TextResultSetRowProtocolText::ResultsetRow