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

Method HandleStmtExecute

IceFireDB-SQLite/internal/mysql/handle.go:64–75  ·  view source on GitHub ↗
(c *server.Conn, context any, query string, args []any)

Source from the content-addressed store, hash-verified

62}
63
64func (h *mysqlProxy) HandleStmtExecute(c *server.Conn, context any, query string, args []any) (*mysql.Result, error) {
65 stmt, ok := context.(*client.Stmt)
66 //stmt, ok := context.(*sql.Stmt)
67 if !ok {
68 return nil, errors.New("other error")
69 }
70 res, err := stmt.Execute(args...)
71 if err == nil {
72 sqlite.Broadcast(query)
73 }
74 return res, err
75}
76
77func (h *mysqlProxy) HandleStmtClose(c *server.Conn, context any) error {
78 stmt, ok := context.(*client.Stmt)

Callers

nothing calls this directly

Calls 2

BroadcastFunction · 0.92
ExecuteMethod · 0.65

Tested by

no test coverage detected