(query string, args ...any)
| 277 | } |
| 278 | |
| 279 | func (dbt *DBTest) mustQuery(query string, args ...any) (rows *sql.Rows) { |
| 280 | dbt.Helper() |
| 281 | rows, err := dbt.db.Query(query, args...) |
| 282 | if err != nil { |
| 283 | dbt.fail("query", query, err) |
| 284 | } |
| 285 | return rows |
| 286 | } |
| 287 | |
| 288 | func maybeSkip(t *testing.T, err error, skipErrno uint16) { |
| 289 | mySQLErr, ok := err.(*MySQLError) |
no test coverage detected