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

Method DropConn

IceFireDB-SQLProxy/pkg/mysql/client/pool.go:175–177  ·  view source on GitHub ↗

DropConn closes the connection without any checks

(conn *Conn)

Source from the content-addressed store, hash-verified

173
174// DropConn closes the connection without any checks
175func (pool *Pool) DropConn(conn *Conn) {
176 pool.closeConn(conn)
177}
178
179func (pool *Pool) putConnection(connection Connection) {
180 pool.synchro.Lock()

Callers

nothing calls this directly

Calls 1

closeConnMethod · 0.95

Tested by

no test coverage detected