7.2.2.4 Constraint violation Errors

The following table lists and describes NDB Constraint violationerrors (error type CV).

Table 7.4 This table describes NDB API Constraint violation errors

NDB Error Code MySQL Error Code NDB Error Type Error Message
255 HA_ERR_NO_REFERENCED_ROW CV Foreign key constraint violated: No parent row found
256 HA_ERR_ROW_IS_REFERENCED CV Foreign key constraint violated: Referenced row exists
630 HA_ERR_FOUND_DUPP_KEY CV Tuple already existed when attempting to insert
839 DMEC CV Illegal null attribute
840 DMEC CV Trying to set a NOT NULL attribute to NULL
893 HA_ERR_FOUND_DUPP_KEY CV Constraint violation e.g. duplicate value in unique index