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

Method SetCapability

IceFireDB-SQLProxy/pkg/mysql/client/conn.go:129–131  ·  view source on GitHub ↗

SetCapability enables the use of a specific capability

(cap uint32)

Source from the content-addressed store, hash-verified

127
128// SetCapability enables the use of a specific capability
129func (c *Conn) SetCapability(cap uint32) {
130 c.ccaps |= cap
131}
132
133// UnsetCapability disables the use of a specific capability
134func (c *Conn) UnsetCapability(cap uint32) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected