An OK packet is sent from the server to the client to signal successful completion of a command.
if CLIENT_PROTOCOL_41 is set, the packet contains a warning count.
Value parameters
- affectedRows
-
Type: int
Name: affected_rows Description: affected rows - info
-
Type: string
Name: info Description: human readable status information - lastInsertId
-
Type: int
Name: last_insert_id Description: last insert-id - msg
-
Type: string
Name: info Description: human readable status information - sessionStateInfo
-
Type: string
Name: session state info Description: Session State Information - status
-
Type: int<1> Name: header Description: 0x00 or 0xFE the OK packet header
- statusFlags
-
if capabilities & CLIENT_PROTOCOL_41 Type: int<2> Name: status_flags Description: SERVER_STATUS_flags_enum
- warnings
-
if capabilities & CLIENT_PROTOCOL_41 Type: int<2> Name: warnings Description: number of warnings
Attributes
- Companion
- object
- Source
- OKPacket.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GenericResponsePacketstrait ResponsePackettrait Packetclass Objecttrait Matchableclass Any