(c *server.Conn)
| 14 | } |
| 15 | |
| 16 | func (h *Handle) CloseConn(c *server.Conn) error { |
| 17 | if c.IsInTransaction() || c.IsAutoCommit() { |
| 18 | return h.conn.Commit() |
| 19 | } |
| 20 | return nil |
| 21 | } |
| 22 | |
| 23 | func (h *Handle) UseDB(c *server.Conn, dbName string) error { |
| 24 | return h.conn.UseDB(dbName) |
nothing calls this directly
no test coverage detected