()
| 40 | } |
| 41 | |
| 42 | func (s *Stmt) Close() error { |
| 43 | if err := s.conn.writeCommandUint32(COM_STMT_CLOSE, s.id); err != nil { |
| 44 | return errors.Trace(err) |
| 45 | } |
| 46 | |
| 47 | return nil |
| 48 | } |
| 49 | |
| 50 | func (s *Stmt) write(args ...any) error { |
| 51 | paramsNum := s.params |
nothing calls this directly
no test coverage detected