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