Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual 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.50 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.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.