Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Constraint violation Errors

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

Table 2.89 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