summaryrefslogtreecommitdiff
path: root/storage/innobase/include/db0err.h
diff options
context:
space:
mode:
authorJimmy Yang <jimmy.yang@oracle.com>2010-08-04 03:11:33 -0700
committerJimmy Yang <jimmy.yang@oracle.com>2010-08-04 03:11:33 -0700
commit04970a2ff1d0019e256f12626c85266c3a0ebf35 (patch)
tree93447c5ac7a793786aaf087d7e3e69aecc6ffecc /storage/innobase/include/db0err.h
parent127ca525942e0e519f05fd5c01ca814738810db0 (diff)
downloadmariadb-git-04970a2ff1d0019e256f12626c85266c3a0ebf35.tar.gz
Fix Bug #54582 stack overflow when opening many tables linked with
foreign keys at once rb://391 approved by Heikki Z
Diffstat (limited to 'storage/innobase/include/db0err.h')
-rw-r--r--storage/innobase/include/db0err.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/innobase/include/db0err.h b/storage/innobase/include/db0err.h
index 2be6005622d..af3e78fe833 100644
--- a/storage/innobase/include/db0err.h
+++ b/storage/innobase/include/db0err.h
@@ -73,6 +73,9 @@ Created 5/24/1996 Heikki Tuuri
a later version of the engine. */
#define DB_INTERRUPTED 49 /* the query has been interrupted with
"KILL QUERY N;" */
+#define DB_FOREIGN_EXCEED_MAX_CASCADE 50/* Foreign key constraint related
+ cascading delete/update exceeds
+ maximum allowed depth */
/* The following are partial failure codes */
#define DB_FAIL 1000