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

Method Handshake

IceFireDB-SQLite/pkg/mysql/server/conn.go:138–145  ·  view source on GitHub ↗
(hp Handler)

Source from the content-addressed store, hash-verified

136}
137
138func (c *Conn) Handshake(hp Handler) error {
139 c.h = hp
140 if err := c.handshake(); err != nil {
141 c.Close()
142 return err
143 }
144 return nil
145}
146
147func (c *Conn) handshake() error {
148 if err := c.writeInitialHandshake(); err != nil {

Callers 2

writeAuthHandshakeMethod · 0.45
decodeFirstPartMethod · 0.45

Calls 2

handshakeMethod · 0.95
CloseMethod · 0.95

Tested by

no test coverage detected