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

Method HandleStmtClose

IceFireDB-SQLite/internal/mysql/handle.go:77–84  ·  view source on GitHub ↗
(c *server.Conn, context any)

Source from the content-addressed store, hash-verified

75}
76
77func (h *mysqlProxy) HandleStmtClose(c *server.Conn, context any) error {
78 stmt, ok := context.(*client.Stmt)
79 if !ok {
80 return errors.New("other error")
81 }
82 return stmt.Close()
83 //return nil
84}
85
86func (h *mysqlProxy) HandleOtherCommand(c *server.Conn, cmd byte, data []byte) error {
87 return errors.New("command %d is not supported now" + string(cmd))

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected