Get an Internal transaction.
Start an internal transaction. An internal transaction is a completely
separate transaction from the current user transaction. All work done
in the internal transaction must be physical (ie. it can be undone
physically by the rawstore at the page level, rather than logically
undone like btree insert/delete operations). The rawstore guarantee's
that in the case of a system failure all open Internal transactions are
first undone in reverse order, and then other transactions are undone
in reverse order.
Internal transactions are meant to implement operations which, if
interupted before completion will cause logical operations like tree
searches to fail. This special undo order insures that the state of
the tree is restored to a consistent state before any logical undo
operation which may need to search the tree is performed.
The new internal transaction. exception: StandardException - Standard exception policy. |