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


14.1.3.4 Status Flags

The status flags are a bit-field.

Protocol::StatusFlags
FlagValueComment
SERVER_STATUS_IN_TRANS0x0001a transaction is active
SERVER_STATUS_AUTOCOMMIT0x0002auto-commit is enabled
SERVER_MORE_RESULTS_EXISTS0x0008
SERVER_STATUS_NO_GOOD_INDEX_USED0x0010
SERVER_STATUS_NO_INDEX_USED0x0020
SERVER_STATUS_CURSOR_EXISTS0x0040Used by Binary Protocol Resultset to signal that COM_STMT_FETCH must be used to fetch the row-data.
SERVER_STATUS_LAST_ROW_SENT0x0080
SERVER_STATUS_DB_DROPPED0x0100
SERVER_STATUS_NO_BACKSLASH_ESCAPES0x0200
SERVER_STATUS_METADATA_CHANGED0x0400
SERVER_QUERY_WAS_SLOW0x0800
SERVER_PS_OUT_PARAMS0x1000
SERVER_STATUS_IN_TRANS_READONLY0x2000in a read-only transaction
SERVER_SESSION_STATE_CHANGED0x4000connection state information has changed

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