(t *testing.T)
| 37 | } |
| 38 | |
| 39 | func TestErrorsStrictIgnoreNotes(t *testing.T) { |
| 40 | runTests(t, dsn+"&sql_notes=false", func(dbt *DBTest) { |
| 41 | dbt.mustExec("DROP TABLE IF EXISTS does_not_exist") |
| 42 | }) |
| 43 | } |
| 44 | |
| 45 | func TestMySQLErrIs(t *testing.T) { |
| 46 | infraErr := &MySQLError{Number: 1234, Message: "the server is on fire"} |