summaryrefslogtreecommitdiff
path: root/include/my_base.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-05-31 11:46:30 +0300
committerMichael Widenius <monty@askmonty.org>2012-05-31 11:46:30 +0300
commit59b4ee145452f57be86f1a983186d18e712138ef (patch)
tree82790038a2aedf70d89730e89780df6705d7a586 /include/my_base.h
parentaa81e025a88d13c5040bb3fe808d70fd6d1e560c (diff)
parentafedd72e225654225b20a91b072b012e4c57a9d4 (diff)
downloadmariadb-git-59b4ee145452f57be86f1a983186d18e712138ef.tar.gz
Merge with 5.5
Diffstat (limited to 'include/my_base.h')
-rw-r--r--include/my_base.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/include/my_base.h b/include/my_base.h
index dacceaa0aeb..bf05d49db7d 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
+/* Copyright (c) 2000, 2012, Oracle and/or its affiliates.
Copyright (c) 1995, 2012 Monty Program Ab
This program is free software; you can redistribute it and/or modify
@@ -11,8 +11,9 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */
+
/* This file includes constants used with all databases */
@@ -460,11 +461,12 @@ enum ha_base_keytype {
#define HA_ERR_INDEX_COL_TOO_LONG 179 /* Index column length exceeds limit */
#define HA_ERR_INDEX_CORRUPT 180 /* Index corrupted */
#define HA_ERR_UNDO_REC_TOO_BIG 181 /* Undo log record too big */
-#define HA_FTS_INVALID_DOCID 182 /* Invalid InnoDB Doc ID */
-#define HA_ERR_ROW_NOT_VISIBLE 183
-#define HA_ERR_ABORTED_BY_USER 184
-#define HA_ERR_DISK_FULL 185
-#define HA_ERR_LAST 185 /* Copy of last error nr */
+#define HA_ERR_TABLE_IN_FK_CHECK 182 /* Table being used in foreign key check */
+#define HA_FTS_INVALID_DOCID 183 /* Invalid InnoDB Doc ID */
+#define HA_ERR_ROW_NOT_VISIBLE 184
+#define HA_ERR_ABORTED_BY_USER 185
+#define HA_ERR_DISK_FULL 186
+#define HA_ERR_LAST 186 /* Copy of last error nr */
/* Number of different errors */
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)