Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual NdbTransaction::CommitStatusType

Description.  This type is used to describe a transaction's commit status.

Enumeration values.  Possible values are shown, along with descriptions, in the following table:

Table 2.63 NdbTransaction::CommitStatusType values and descriptions

Name Description
NotStarted The transaction has not yet been started.
Started The transaction has started, but is not yet committed.
Committed The transaction has completed, and has been committed.
Aborted The transaction was aborted.
NeedAbort The transaction has encountered an error, but has not yet been aborted.

A transaction's commit status ca be read using the commitStatus() method. See Section, “NdbTransaction::commitStatus()”.