PARTIALLY COMMITTED, which occurs after the final statement has been executed.
At this point, it may be found that the transaction has violated serializability (see Section
20.2.2) or has violated an integrity constraint and the transaction has to be aborted.
Alternatively, the system may fail and any data updated by the transaction may not have
been safely recorded on secondary storage. In such cases, the transaction would go into
the FAILED state and would have to be aborted. If the transaction has been successful,
any updates can be safely recorded and the transaction can go to the COMMITTED state.