MySQL NDB Cluster API Developer Guide
The following list enumerates all NDB
errors of
type CV (Constraint
violation).
255
HA_ERR_NO_REFERENCED_ROW
Foreign key constraint violated: No parent row found
256
HA_ERR_ROW_IS_REFERENCED
Foreign key constraint violated: Referenced row exists
630
HA_ERR_FOUND_DUPP_KEY
Tuple already existed when attempting to insert
839
DMEC
Illegal null attribute
840
DMEC
Trying to set a NOT NULL attribute to NULL
893
HA_ERR_FOUND_DUPP_KEY
Constraint violation e.g. duplicate value in unique index