MCPcopy
hub / github.com/go-sql-driver/mysql / readStatus

Function readStatus

packets.go:631–633  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

629}
630
631func readStatus(b []byte) statusFlag {
632 return statusFlag(b[0]) | statusFlag(b[1])<<8
633}
634
635// Returns an instance of okHandler for codepaths where mysqlConn.result doesn't
636// need to be cleared first (e.g. during authentication, or while additional

Callers 4

handleOkPacketMethod · 0.85
readRowMethod · 0.85
skipRowsMethod · 0.85
readRowMethod · 0.85

Calls 1

statusFlagTypeAlias · 0.85

Tested by

no test coverage detected