(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func openAttachTestDB(t *testing.T) *sql.DB { |
| 12 | t.Helper() |
| 13 | db, err := sql.Open("duckdb", ":memory:") |
| 14 | if err != nil { |
| 15 | t.Fatalf("open duckdb: %v", err) |
| 16 | } |
| 17 | t.Cleanup(func() { _ = db.Close() }) |
| 18 | return db |
| 19 | } |
| 20 | |
| 21 | // TestAttachStepExecerFastStatement verifies the happy path: statements that |
| 22 | // finish within the deadline behave exactly like plain Exec/QueryRow. |
no test coverage detected