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

Method NewContext

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

NewContext creates a new sql.Context instance for the connection |c|. The optional |query| can be specified to populate the sql.Context's query field.

(ctx context.Context, c *mysql.Conn, query string)

Source from the content-addressed store, hash-verified

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)
47}

Callers 15

setPersisterFunction · 0.65
TestDebugHarnessFunction · 0.65
TestIsPureDataQueryFunction · 0.65
RunCreateTableTestFunction · 0.65
RunAddColumnTestFunction · 0.65
RunModifyColumnTestFunction · 0.65
RunTestColumnDefaultsFunction · 0.65
mainFunction · 0.65
CreateTestServerFunction · 0.65
NewEngineFunction · 0.65
NewContextMethod · 0.65

Implementers 1

DuckHandlerpgserver/duck_handler.go

Calls

no outgoing calls

Tested by 6

TestDebugHarnessFunction · 0.52
TestIsPureDataQueryFunction · 0.52
RunCreateTableTestFunction · 0.52
RunAddColumnTestFunction · 0.52
RunModifyColumnTestFunction · 0.52
RunTestColumnDefaultsFunction · 0.52