Skip to content

Commit

Permalink
Fixed typo in docs/topics/db/transactions.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv authored and timgraham committed Sep 3, 2014
1 parent 09c1f18 commit 4db7592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/db/transactions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ the block of code it controls; when exiting the block, it commits or
rollbacks, and switches back to auto mode.

So :func:`commit_on_success` really has two effects: it changes the
transaction state and it defines an transaction block. Nesting will give the
transaction state and it defines a transaction block. Nesting will give the
expected results in terms of transaction state, but not in terms of
transaction semantics. Most often, the inner block will commit, breaking the
atomicity of the outer block.
Expand Down

0 comments on commit 4db7592

Please sign in to comment.