summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/my_base.h3
-rw-r--r--include/my_handler_errors.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/my_base.h b/include/my_base.h
index cc056bffa70..cdf8e189031 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -501,7 +501,8 @@ enum ha_base_keytype {
#define HA_ERR_ABORTED_BY_USER 188
#define HA_ERR_DISK_FULL 189
#define HA_ERR_INCOMPATIBLE_DEFINITION 190
-#define HA_ERR_LAST 190 /* Copy of last error nr */
+#define HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE 191 /* Too many words in a phrase */
+#define HA_ERR_LAST 191 /* Copy of last error nr */
/* Number of different errors */
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)
diff --git a/include/my_handler_errors.h b/include/my_handler_errors.h
index 76b6b1aa60d..a7afcfe93a3 100644
--- a/include/my_handler_errors.h
+++ b/include/my_handler_errors.h
@@ -93,7 +93,8 @@ static const char *handler_error_messages[]=
"Row is not visible by the current transaction",
"Operation was interrupted by end user (probably kill command?)",
"Disk full",
- "Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump and restore the table to fix this"
+ "Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump and restore the table to fix this",
+ "Too many words in a FTS phrase or proximity search"
};
#endif /* MYSYS_MY_HANDLER_ERRORS_INCLUDED */