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

Method ComPrepareParsed

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

ComPrepareParsed is called when a connection receives a prepared statement query that has already been parsed.

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

Source from the content-addressed store, hash-verified

31 ComExecuteBound(ctx context.Context, conn *mysql.Conn, portal PortalData, callback func(*Result) error) error
32 // ComPrepareParsed is called when a connection receives a prepared statement query that has already been parsed.
33 ComPrepareParsed(ctx context.Context, c *mysql.Conn, query string, parsed tree.Statement) (*duckdb.Stmt, []uint32, []pgproto3.FieldDescription, error)
34 // ComQuery is called when a connection receives a query. Note the contents of the query slice may change
35 // after the first call to callback. So the DoltgresHandler should not hang on to the byte slice.
36 ComQuery(ctx context.Context, c *mysql.Conn, query string, auditQuery string, parsed tree.Statement, callback func(*Result) error) error

Callers 1

handleParseMethod · 0.65

Implementers 1

DuckHandlerpgserver/duck_handler.go

Calls

no outgoing calls

Tested by

no test coverage detected