Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.4.2.4 Constraint violation

The following list enumerates all NDB errors of type CV (Constraint violation).

255

MySQL error.  HA_ERR_NO_REFERENCED_ROW

Error message.  Foreign key constraint violated: No parent row found

256

MySQL error.  HA_ERR_ROW_IS_REFERENCED

Error message.  Foreign key constraint violated: Referenced row exists

630

MySQL error.  HA_ERR_FOUND_DUPP_KEY

Error message.  Tuple already existed when attempting to insert

839

MySQL error.  DMEC

Error message.  Illegal null attribute

840

MySQL error.  DMEC

Error message.  Trying to set a NOT NULL attribute to NULL

893

MySQL error.  HA_ERR_FOUND_DUPP_KEY

Error message.  Constraint violation e.g. duplicate value in unique index