summaryrefslogtreecommitdiff
path: root/include/my_handler_errors.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-09-10 16:04:44 +0200
committerSergei Golubchik <serg@mariadb.org>2016-09-10 16:04:44 +0200
commitd019af402cdaa80bd03ad8a5cf2c11cf54443248 (patch)
treebcbe5acdb8804a3087639b6d9de70c3d1149cb65 /include/my_handler_errors.h
parentd8cbad069acd171c0b9d417fbda74aaf1f3c96a1 (diff)
downloadmariadb-git-d019af402cdaa80bd03ad8a5cf2c11cf54443248.tar.gz
misc after-merge changes:
* remove new InnoDB-specific ER_ and HA_ERR_ codes * renamed few old ER_ and HA_ERR_ error messages to be less MyISAM-specific * remove duplicate enum definitions (durability_properties, icp_result) * move new mysql-test include files to their owner suite * rename xtradb.rdiff files to *-disabled * remove mistakenly committed helper perl module * remove long obsolete handler::ha_statistic_increment() method * restore the standard C xid_t structure to not have setters and getters * remove xid_t::reset that was cleaning too much * move MySQL-5.7 ER_ codes where they belong * fir innodb to include service_wsrep.h not internal wsrep headers * update tests and results
Diffstat (limited to 'include/my_handler_errors.h')
-rw-r--r--include/my_handler_errors.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/include/my_handler_errors.h b/include/my_handler_errors.h
index 3d05fb75054..bdea4f71eaf 100644
--- a/include/my_handler_errors.h
+++ b/include/my_handler_errors.h
@@ -23,16 +23,18 @@
static const char *handler_error_messages[]=
{
+ /* 120 */
"Didn't find key on read or update",
"Duplicate key on write or update",
"Internal (unspecified) error in handler",
"Someone has changed the row since it was read (while the table was locked to prevent it)",
"Wrong index given to function",
"Undefined handler error 125",
- "Index file is crashed",
- "Record file is crashed",
+ "Index is corrupted",
+ "Table file is corrupted",
"Out of memory in engine",
"Undefined handler error 129",
+ /* 130 */
"Incorrect file format",
"Command not supported by database",
"Old database file",
@@ -43,6 +45,7 @@ static const char *handler_error_messages[]=
"No more records (read after end of file)",
"Unsupported extension used for table",
"Too big row",
+ /* 140 */
"Wrong create options",
"Duplicate unique key or constraint on write or update",
"Unknown character set used in table",
@@ -53,6 +56,7 @@ static const char *handler_error_messages[]=
"Lock table is full; Restart program with a larger lock table",
"Updates are not allowed under a read only transactions",
"Lock deadlock; Retry transaction",
+ /* 150 */
"Foreign key constraint is incorrectly formed",
"Cannot add a child row",
"Cannot delete a parent row",
@@ -63,6 +67,7 @@ static const char *handler_error_messages[]=
"Could not connect to storage engine",
"Unexpected null pointer found when using spatial index",
"The table changed in storage engine",
+ /* 160 */
"There's no partition in table for the given value",
"Row-based binary logging of row failed",
"Index needed in foreign key constraint",
@@ -73,6 +78,7 @@ static const char *handler_error_messages[]=
"Failed to set row auto increment value",
"Unknown (generic) error from engine",
"Record was not update. Original values was same as new values",
+ /* 170 */
"It is not possible to log this statement",
"The event was corrupt, leading to illegal data being read",
"The table is of a new format not supported by this version",
@@ -83,6 +89,7 @@ static const char *handler_error_messages[]=
"Too many active concurrent transactions",
"Record not matching the given partition set",
"Index column length exceeds limit",
+ /* 180 */
"Index corrupted",
"Undo record too big",
"Invalid InnoDB FTS Doc ID",
@@ -93,20 +100,12 @@ 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",
+ /* 190 */
"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",
"Table encrypted but decryption failed. This could be because correct encryption management plugin is not loaded, used encryption key is not available or encryption method does not match.",
"Foreign key cascade delete/update exceeds max depth",
- "Table storage engine found required create option missing",
- "Out of memory in storage engine",
- "Operation cannot be performed. The table is missing, corrupt or contains bad data.",
- "Query execution was interrupted",
- "Tablespace is missing for table",
- "Tablespace is not empty",
- "Incorrect File Name",
- "Table storage engine found required create option missing",
- "Compute virtual column value failed",
- "InnoDB is in read only mode"
+ "Tablespace is missing for table"
};
#endif /* MYSYS_MY_HANDLER_ERRORS_INCLUDED */