Documentation Home
MySQL NDB Cluster API Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 3.6Mb
PDF (A4) - 3.6Mb


2.4.2.5 Constraint violation

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

NDB error code

255

MySQL error

HA_ERR_NO_REFERENCED_ROW

Error message

Foreign key constraint violated: No parent row found

NDB error code

256

MySQL error

HA_ERR_ROW_IS_REFERENCED

Error message

Foreign key constraint violated: Referenced row exists

NDB error code

630

MySQL error

HA_ERR_FOUND_DUPP_KEY

Error message

Tuple already existed when attempting to insert

NDB error code

839

MySQL error

DMEC

Error message

Illegal null attribute

NDB error code

840

MySQL error

DMEC

Error message

Trying to set a NOT NULL attribute to NULL

NDB error code

893

MySQL error

HA_ERR_FOUND_DUPP_KEY

Error message

Constraint violation e.g. duplicate value in unique index