summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-09-15 15:05:39 +0200
committerSergei Golubchik <serg@mariadb.org>2017-09-18 10:12:23 +0200
commit6670b4e58ca1c97b6f35277fc2aef93ee7367b89 (patch)
treef6559279dbf8fbb40090f64b8a0f1aaeb0bda91a /include
parent203e2176fe046f9cdbf6bc46be03ef2c1a670f91 (diff)
downloadmariadb-git-6670b4e58ca1c97b6f35277fc2aef93ee7367b89.tar.gz
MDEV-13712 Spelling errors in the error message
Diffstat (limited to 'include')
-rw-r--r--include/my_handler_errors.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/my_handler_errors.h b/include/my_handler_errors.h
index bdea4f71eaf..082e6effdab 100644
--- a/include/my_handler_errors.h
+++ b/include/my_handler_errors.h
@@ -24,11 +24,11 @@
static const char *handler_error_messages[]=
{
/* 120 */
- "Didn't find key on read or update",
+ "Didn't find the 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",
+ "Someone has changed the row since it was read (even though the table was locked to prevent it)",
+ "Wrong index given to a function",
"Undefined handler error 125",
"Index is corrupted",
"Table file is corrupted",
@@ -36,7 +36,7 @@ static const char *handler_error_messages[]=
"Undefined handler error 129",
/* 130 */
"Incorrect file format",
- "Command not supported by database",
+ "Command not supported by the engine",
"Old database file",
"No record read before update",
"Record was already deleted (or record file crashed)",
@@ -47,7 +47,7 @@ static const char *handler_error_messages[]=
"Too big row",
/* 140 */
"Wrong create options",
- "Duplicate unique key or constraint on write or update",
+ "Duplicate unique key on write or update",
"Unknown character set used in table",
"Conflicting table definitions in sub-tables of MERGE table",
"Table is crashed and last repair failed",
@@ -62,13 +62,13 @@ static const char *handler_error_messages[]=
"Cannot delete a parent row",
"No savepoint with that name",
"Non unique key block size",
- "The table does not exist in engine",
- "The table already existed in storage engine",
- "Could not connect to storage engine",
+ "The table does not exist in the storage engine",
+ "The table already existed in the storage engine",
+ "Could not connect to the storage engine",
"Unexpected null pointer found when using spatial index",
- "The table changed in storage engine",
+ "The table changed in the storage engine",
/* 160 */
- "There's no partition in table for the given value",
+ "There's no partition in the table for the given value",
"Row-based binary logging of row failed",
"Index needed in foreign key constraint",
"Upholding foreign key constraints would lead to a duplicate key error in some other table",
@@ -77,13 +77,13 @@ static const char *handler_error_messages[]=
"Failed to get next auto increment value",
"Failed to set row auto increment value",
"Unknown (generic) error from engine",
- "Record was not update. Original values was same as new values",
+ "Record was not updated. New values were the same as original 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",
"The event could not be processed. No other handler error happened",
- "Got a fatal error during initialization of handler",
+ "Fatal error during initialization of handler",
"File too short; Expected more data in file",
"Read page with wrong checksum",
"Too many active concurrent transactions",
@@ -105,7 +105,7 @@ static const char *handler_error_messages[]=
"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",
- "Tablespace is missing for table"
+ "Tablespace is missing for a table"
};
#endif /* MYSYS_MY_HANDLER_ERRORS_INCLUDED */