MySQL NDB Cluster API Developer Guide NdbOperation::AbortOption

Description.  This type is used to determine whether failed operations should force a transaction to be aborted. It is used as an argument to the execute() method—see Section, “NdbTransaction::execute()”, for more information.

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

Table 2.54 NdbOperation::AbortOption type values and descriptions

Name Description
AbortOnError A failed operation causes the transaction to abort.
AO_IgnoreOnError Failed operations are ignored; the transaction continues to execute.
DefaultAbortOption The AbortOption value is set according to the operation type:
  • Read operations: AO_IgnoreOnError

  • Scan takeover or DML operations: AbortOnError

See Section, “NdbTransaction::execute()”, for more information.