Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.4.2.5 Constraint violation

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

Error code

255

MySQL error

HA_ERR_NO_REFERENCED_ROW

Error message

Foreign key constraint violated: No parent row found

Error code

256

MySQL error

HA_ERR_ROW_IS_REFERENCED

Error message

Foreign key constraint violated: Referenced row exists

Error code

630

MySQL error

HA_ERR_FOUND_DUPP_KEY

Error message

Tuple already existed when attempting to insert

Error code

839

MySQL error

DMEC

Error message

Illegal null attribute

Error code

840

MySQL error

DMEC

Error message

Trying to set a NOT NULL attribute to NULL

Error code

893

MySQL error

HA_ERR_FOUND_DUPP_KEY

Error message

Constraint violation e.g. duplicate value in unique index