Add commit(!)/1,2 to commit (or rollback) and checkin
rollback/2 is overloaded and has old behaviour inside transaction/3 for
backwards compatibility. However transaction/3 is deprecated because is
makes assumptions about database status that may not hold.
New return values from handle_begin/2, handle_rollback/2 and
handle_commit/2 allow to signal mistaken database status.
rollback/2 is overloaded and has old behaviour inside transaction/3 for backwards compatibility. However transaction/3 is deprecated because is makes assumptions about database status that may not hold.
New return values from handle_begin/2, handle_rollback/2 and handle_commit/2 allow to signal mistaken database status.