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

Method HandleStmtPrepare

IceFireDB-SQLite/internal/mysql/handle.go:55–62  ·  view source on GitHub ↗
(c *server.Conn, query string)

Source from the content-addressed store, hash-verified

53}
54
55func (h *mysqlProxy) HandleStmtPrepare(c *server.Conn, query string) (int, int, any, error) {
56 //stmt, err := h.db.Prepare(query)
57 //if err != nil {
58 // return 0, 0, nil, err
59 //}
60 //return 1, 0, stmt, nil
61 return 0, 0, nil, nil
62}
63
64func (h *mysqlProxy) HandleStmtExecute(c *server.Conn, context any, query string, args []any) (*mysql.Result, error) {
65 stmt, ok := context.(*client.Stmt)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected