(ctx: &mut ProcedureContext)
| 86 | |
| 87 | #[procedure] |
| 88 | fn insert_with_tx_commit(ctx: &mut ProcedureContext) { |
| 89 | // Insert a row and commit. |
| 90 | ctx.with_tx(insert_my_table); |
| 91 | |
| 92 | // Assert that there's a row. |
| 93 | assert_row_count(ctx, 1); |
| 94 | } |
| 95 | |
| 96 | #[procedure] |
| 97 | fn insert_with_tx_rollback(ctx: &mut ProcedureContext) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…