(c *server.Conn)
| 12 | ) |
| 13 | |
| 14 | func (h *mysqlProxy) CloseConn(c *server.Conn) error { |
| 15 | if c.IsInTransaction() || c.IsAutoCommit() { |
| 16 | _, err := sqlite.Exec("COMMIT") |
| 17 | return err |
| 18 | } |
| 19 | return nil |
| 20 | } |
| 21 | |
| 22 | func (h *mysqlProxy) UseDB(c *server.Conn, dbName string) error { |
| 23 | log.Println(dbName) |
nothing calls this directly
no test coverage detected