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

Method NewConnection

pgserver/handler.go:43–43  ·  view source on GitHub ↗

NewConnection reports that a new connection has been established.

(c *mysql.Conn)

Source from the content-addressed store, hash-verified

41 ConnectionClosed(c *mysql.Conn)
42 // NewConnection reports that a new connection has been established.
43 NewConnection(c *mysql.Conn)
44 // NewContext creates a new sql.Context instance for the connection |c|. The
45 // optional |query| can be specified to populate the sql.Context's query field.
46 NewContext(ctx context.Context, c *mysql.Conn, query string) (*sql.Context, error)

Callers 3

RunAddColumnTestFunction · 0.65
RunModifyColumnTestFunction · 0.65
HandleConnectionMethod · 0.65

Implementers 1

DuckHandlerpgserver/duck_handler.go

Calls

no outgoing calls

Tested by 2

RunAddColumnTestFunction · 0.52
RunModifyColumnTestFunction · 0.52