Skip to content

Commit fa59ac5

Browse files
committed
Add extra HA_ERR message that Percona introduced within TokuDB 5.6.35-80
1 parent b7a3bce commit fa59ac5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

include/my_base.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,8 @@ enum ha_base_keytype {
502502
#define HA_ERR_DISK_FULL 189
503503
#define HA_ERR_INCOMPATIBLE_DEFINITION 190
504504
#define HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE 191 /* Too many words in a phrase */
505-
#define HA_ERR_LAST 191 /* Copy of last error nr */
505+
#define HA_ERR_DEST_SCHEMA_NOT_EXIST 192 /* Destination schema does not exist */
506+
#define HA_ERR_LAST 192 /* Copy of last error nr */
506507

507508
/* Number of different errors */
508509
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)

include/my_handler_errors.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ static const char *handler_error_messages[]=
9494
"Operation was interrupted by end user (probably kill command?)",
9595
"Disk full",
9696
"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",
97-
"Too many words in a FTS phrase or proximity search"
97+
"Too many words in a FTS phrase or proximity search",
98+
"Destination schema does not exist"
9899
};
99100

100101
#endif /* MYSYS_MY_HANDLER_ERRORS_INCLUDED */

0 commit comments

Comments
 (0)