summaryrefslogtreecommitdiff
path: root/storage/innobase/include/db0err.h
diff options
context:
space:
mode:
authorKristofer Pettersson <kristofer.pettersson@oracle.com>2010-09-07 13:34:18 +0200
committerKristofer Pettersson <kristofer.pettersson@oracle.com>2010-09-07 13:34:18 +0200
commit8e2468a85ebc72cfbc9f12a9e1f957fb35780063 (patch)
tree1c2683c61cc3ef63a418b0a677c0819ae8ff222a /storage/innobase/include/db0err.h
parent9a4a7cf184b40b203702043f886f9bd9c26592fd (diff)
parent9b3a3944e458c86b5273f2f1f375dd5fa30e92d5 (diff)
downloadmariadb-git-8e2468a85ebc72cfbc9f12a9e1f957fb35780063.tar.gz
Manual resolve of mysql-test/r/gis.result
Diffstat (limited to 'storage/innobase/include/db0err.h')
-rw-r--r--storage/innobase/include/db0err.h6
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