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

Method HandleStmtPrepare

IceFireDB-SQLite/pkg/mysql/server/command.go:25–25  ·  view source on GitHub ↗

handle COM_STMT_PREPARE, params is the param number for this statement, columns is the column number context will be used later for statement execute

(conn *Conn, query string)

Source from the content-addressed store, hash-verified

23 // handle COM_STMT_PREPARE, params is the param number for this statement, columns is the column number
24 // context will be used later for statement execute
25 HandleStmtPrepare(conn *Conn, query string) (params int, columns int, context any, err error)
26 // handle COM_STMT_EXECUTE, context is the previous one set in prepare
27 // query is the statement prepare query, and args is the params for this statement
28 HandleStmtExecute(conn *Conn, context any, query string, args []any) (*Result, error)

Callers 2

dispatchMethod · 0.65
dispatchMethod · 0.65

Implementers 2

HandleIceFireDB-SQLProxy/internal/mysql/hand
mysqlProxyIceFireDB-SQLite/internal/mysql/proxy.

Calls

no outgoing calls

Tested by

no test coverage detected