mysql-native v3.0.0

API Reference Home: [This Version] [Latest Version] [Other Versions]


Struct OKErrorPacket

A struct representing an OK or Error packet.

struct OKErrorPacket ;

OK packets begin with a zero byte - Error packets with 0xff

Constructors

NameDescription
this

Fields

NameTypeDescription
affected ulong
error bool
insertID ulong
message string
serverStatus ushort
sqlState char[5]
warnings ushort

See Also

http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol#Types_Of_Result_Packets