Commit a9fd34f
committed
Revert "docs: fix bug in transaction example (#3414)"
This reverts commit dcb4257.
The change doesn’t fix the bug it claims to (`finally` always runs) and introduces a resource leak if the `ROLLBACK` query fails. The related bug that a broken client can be returned to the pool remains unaffected either way.1 parent a5d03a0 commit a9fd34f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
38 | 36 | | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
0 commit comments