summaryrefslogtreecommitdiff
path: root/innobase/include/db0err.h
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/include/db0err.h')
-rw-r--r--innobase/include/db0err.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/innobase/include/db0err.h b/innobase/include/db0err.h
index ae4b0fe4cc5..c67c09bad27 100644
--- a/innobase/include/db0err.h
+++ b/innobase/include/db0err.h
@@ -42,8 +42,9 @@ Created 5/24/1996 Heikki Tuuri
#define DB_CANNOT_ADD_CONSTRAINT 38 /* adding a foreign key constraint
to a table failed */
#define DB_CORRUPTION 39 /* data structure corruption noticed */
-#define DB_COL_APPEARS_TWICE_IN_INDEX 40
-
+#define DB_COL_APPEARS_TWICE_IN_INDEX 40 /* InnoDB cannot handle an index
+ where same column appears twice */
+
/* The following are partial failure codes */
#define DB_FAIL 1000
#define DB_OVERFLOW 1001