OK_Packet

You are viewing an old version of this article. View the current version here.

OK_Packet

OK_Packet is sent by the server to client and indicates a successful completion of a command sent by client before.

Direction

server to client

Fields


Status flag

IN_TRANSACTION1
AUTOCOMMIT2
MORE_RESULTS_EXISTS8
QUERY_NO_GOOD_INDEX_USED16
QUERY_NO_INDEX_USED32
CURSOR_EXISTS64
LAST_ROW_SENT128
DB_DROPPED256
NO_BACKSLASH_ESCAPES512
METADATA_CHANGED1024
QUERY_WAS_SLOW2048
PS_OUT_PARAMETERS4096



Notes

  • Session tracking is supported since MariaDB Server version 10.2. To determine if session tracking is enabled check if the flag CLIENT_SESSION_TRACK is set in server_capabilities.
  • to determine if the session_state has changed check the status for flag SERVER_SESSION_STATE_CHANGED .

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.