MCPcopy Create free account
hub / github.com/apecloud/myduckserver / ComInitDB

Method ComInitDB

backend/handler.go:37–43  ·  view source on GitHub ↗
(c *mysql.Conn, schemaName string)

Source from the content-addressed store, hash-verified

35 *server.Handler
36 provider *catalog.DatabaseProvider
37 engine *sqle.Engine
38 newContext func(context.Context, *mysql.Conn, string) (*sql.Context, error)
39 readOnly bool
40}
41
42func (h *MyHandler) ConnectionClosed(c *mysql.Conn) {
43 h.provider.Pool().CloseConn(c.ConnectionID)
44 h.Handler.ConnectionClosed(c)
45}
46

Callers

nothing calls this directly

Calls 2

GetConnForSchemaMethod · 0.80
PoolMethod · 0.80

Tested by

no test coverage detected