Skip to content

Commit

Permalink
Explain transactiion nesting
Browse files Browse the repository at this point in the history
Part of #267.
  • Loading branch information
jclark committed Dec 14, 2020
1 parent 2a587b2 commit 35b7dcf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lang/spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -8753,6 +8753,13 @@ <h4>Transaction statement</h4>
any statements that could potentially be executed after the execution of a
commit-action or rollback-stmt.
</p>
<p>
It is an error for a transactional-stmt to appear in a transactional scope.
However, it is not an error if the current strand is in transaction mode when a
transaction-stmt is executed: in this case, the Begin() operation performed by
the transaction-stmt will, as usual, start a new transaction, which will be
completely independent of any existing transactions.
</p>
</section>


Expand Down

0 comments on commit 35b7dcf

Please sign in to comment.