MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / isEOFPacket

Method isEOFPacket

IceFireDB-SQLProxy/pkg/mysql/client/resp.go:35–37  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

33}
34
35func (c *Conn) isEOFPacket(data []byte) bool {
36 return data[0] == EOF_HEADER && len(data) <= 5
37}
38
39func (c *Conn) handleOKPacket(data []byte) (*Result, error) {
40 var n int

Callers 5

readUntilEOFMethod · 0.95
readResultColumnsMethod · 0.95
readResultRowsMethod · 0.95
FieldListMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected