(t *testing.T)
| 553 | SetUpScript: []string{ |
| 554 | "create table auctions (ai int primary key, data varchar(100));", |
| 555 | "insert into auctions values (1, 'forty-two');", |
| 556 | }, |
| 557 | Assertions: []queries.ScriptTestAssertion{ |
| 558 | { |
| 559 | Query: `select "data" from auctions order by "ai" desc;`, |
| 560 | Expected: []sql.Row{{"data"}}, |
| 561 | }, |
| 562 | { |
| 563 | Query: "SET @@sql_mode='ANSI_QUOTES';", |
| 564 | Expected: []sql.Row{{}}, |
| 565 | }, |
| 566 | { |
| 567 | Query: `select "data" from auctions order by "ai" desc;`, |
| 568 | Expected: []sql.Row{{"forty-two"}}, |
| 569 | }, |
| 570 | { |
nothing calls this directly
no test coverage detected