diff options
Diffstat (limited to 'storage/innobase/include/db0err.h')
-rw-r--r-- | storage/innobase/include/db0err.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/innobase/include/db0err.h b/storage/innobase/include/db0err.h index af3e78fe833..bab6fa46370 100644 --- a/storage/innobase/include/db0err.h +++ b/storage/innobase/include/db0err.h @@ -76,6 +76,12 @@ Created 5/24/1996 Heikki Tuuri #define DB_FOREIGN_EXCEED_MAX_CASCADE 50/* Foreign key constraint related cascading delete/update exceeds maximum allowed depth */ +#define DB_FOREIGN_NO_INDEX 51 /* the child (foreign) table does not + have an index that contains the + foreign keys as its prefix columns */ +#define DB_REFERENCING_NO_INDEX 52 /* the parent (referencing) table does + not have an index that contains the + foreign keys as its prefix columns */ /* The following are partial failure codes */ #define DB_FAIL 1000 |