Runs body inside one write transaction and never leaves it open
(review finding F1). The bracket is uninterruptible except for body
itself. If body fails or is interrupted, the transaction is rolled
back and the body's failure is returned. If COMMIT fails, the
transaction is rolled back if still open and the COMMIT failure is
returned. A failed ROLLBACK is returned rather than swallowed, since the
connection's state is then unknown.
Runs
bodyinside one write transaction and never leaves it open (review finding F1). The bracket is uninterruptible except forbodyitself. Ifbodyfails or is interrupted, the transaction is rolled back and the body's failure is returned. If COMMIT fails, the transaction is rolled back if still open and the COMMIT failure is returned. A failed ROLLBACK is returned rather than swallowed, since the connection's state is then unknown.