Commit 01bf360
committed
environmentd: fix test_dataflow_error_codes setup and format branch code
`test_dataflow_error_codes` issued `CREATE TABLE` and `INSERT` in a
single `batch_execute`, which forms an implicit transaction block; DDL
cannot run inside one, so the test failed at setup with E25001. Run the
statements separately.
Also apply `cargo fmt` to the `PeekError` call sites introduced earlier
on this branch.1 parent 82f15ed commit 01bf360
3 files changed
Lines changed: 10 additions & 5 deletions
File tree
- src
- compute-client/src/controller
- compute/src
- environmentd/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1221 | 1221 | | |
1222 | 1222 | | |
1223 | 1223 | | |
1224 | | - | |
1225 | | - | |
1226 | | - | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
1227 | 1227 | | |
1228 | 1228 | | |
1229 | 1229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1591 | 1591 | | |
1592 | 1592 | | |
1593 | 1593 | | |
1594 | | - | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
1595 | 1597 | | |
1596 | 1598 | | |
1597 | 1599 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2382 | 2382 | | |
2383 | 2383 | | |
2384 | 2384 | | |
| 2385 | + | |
| 2386 | + | |
2385 | 2387 | | |
2386 | | - | |
| 2388 | + | |
2387 | 2389 | | |
| 2390 | + | |
2388 | 2391 | | |
2389 | 2392 | | |
2390 | 2393 | | |
| |||
0 commit comments