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

Method pushReadonlyConn

IceFireDB-SQLProxy/internal/mysql/proxy.go:167–169  ·  view source on GitHub ↗
(mysqlConn *client.Conn, err error)

Source from the content-addressed store, hash-verified

165}
166
167func (m *mysqlProxy) pushReadonlyConn(mysqlConn *client.Conn, err error) {
168 m.pushConn(mysqlConn, err, m.readonlyPool)
169}
170
171func (m *mysqlProxy) pushConn(mysqlConn *client.Conn, err error, pool *client.Pool) {
172 if errors.Is(err, mysql.ErrBadConn) {

Callers 1

handleInboundSQLFunction · 0.80

Calls 1

pushConnMethod · 0.95

Tested by

no test coverage detected