ComQuery is called when a connection receives a query. Note the contents of the query slice may change after the first call to callback. So the DoltgresHandler should not hang on to the byte slice.
(ctx context.Context, c *mysql.Conn, query string, parsed tree.Statement, callback func(*Result) error)
| 34 | // ComQuery is called when a connection receives a query. Note the contents of the query slice may change |
| 35 | // after the first call to callback. So the DoltgresHandler should not hang on to the byte slice. |
| 36 | ComQuery(ctx context.Context, c *mysql.Conn, query string, auditQuery string, parsed tree.Statement, callback func(*Result) error) error |
| 37 | // ComResetConnection resets the connection's session, clearing out any cached prepared statements, locks, user and |
| 38 | // session variables. The currently selected database is preserved. |
| 39 | ComResetConnection(c *mysql.Conn) error |
no outgoing calls
no test coverage detected