merge of "BUG#18233051 - FTS: FAILING ASSERTION: NUM_TOKEN < MAX_PROXIMITY_ITEM"
revno: 5826 committer: Shaohua Wang <shaohua.wang@oracle.com> branch nick: mysql-5.6-bugfix2 timestamp: Wed 2014-02-19 16:41:14 +0800 message: BUG#18233051 - FTS: FAILING ASSERTION: NUM_TOKEN < MAX_PROXIMITY_ITEM
This commit is contained in:
parent
914a2b38bf
commit
8db4a51815
@ -501,7 +501,8 @@ enum ha_base_keytype {
|
|||||||
#define HA_ERR_ABORTED_BY_USER 188
|
#define HA_ERR_ABORTED_BY_USER 188
|
||||||
#define HA_ERR_DISK_FULL 189
|
#define HA_ERR_DISK_FULL 189
|
||||||
#define HA_ERR_INCOMPATIBLE_DEFINITION 190
|
#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 */
|
/* Number of different errors */
|
||||||
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)
|
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)
|
||||||
|
@ -93,7 +93,8 @@ static const char *handler_error_messages[]=
|
|||||||
"Row is not visible by the current transaction",
|
"Row is not visible by the current transaction",
|
||||||
"Operation was interrupted by end user (probably kill command?)",
|
"Operation was interrupted by end user (probably kill command?)",
|
||||||
"Disk full",
|
"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 */
|
#endif /* MYSYS_MY_HANDLER_ERRORS_INCLUDED */
|
||||||
|
@ -359,6 +359,7 @@ int ha_init_errors(void)
|
|||||||
SETMSG(HA_FTS_INVALID_DOCID, "Invalid InnoDB FTS Doc ID");
|
SETMSG(HA_FTS_INVALID_DOCID, "Invalid InnoDB FTS Doc ID");
|
||||||
SETMSG(HA_ERR_TABLE_IN_FK_CHECK, ER_DEFAULT(ER_TABLE_IN_FK_CHECK));
|
SETMSG(HA_ERR_TABLE_IN_FK_CHECK, ER_DEFAULT(ER_TABLE_IN_FK_CHECK));
|
||||||
SETMSG(HA_ERR_DISK_FULL, ER_DEFAULT(ER_DISK_FULL));
|
SETMSG(HA_ERR_DISK_FULL, ER_DEFAULT(ER_DISK_FULL));
|
||||||
|
SETMSG(HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE, "Too many words in a FTS phrase or proximity search");
|
||||||
|
|
||||||
/* Register the error messages for use with my_error(). */
|
/* Register the error messages for use with my_error(). */
|
||||||
return my_error_register(get_handler_errmsgs, HA_ERR_FIRST, HA_ERR_LAST);
|
return my_error_register(get_handler_errmsgs, HA_ERR_FIRST, HA_ERR_LAST);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user