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

Method UnsetCapability

IceFireDB-SQLite/pkg/mysql/server/conn.go:202–204  ·  view source on GitHub ↗
(cap uint32)

Source from the content-addressed store, hash-verified

200}
201
202func (c *Conn) UnsetCapability(cap uint32) {
203 c.capability &= ^cap
204}
205
206func (c *Conn) HasCapability(cap uint32) bool {
207 return c.capability&cap > 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected