Skip to content

Commit 6670b4e

Browse files
committed
MDEV-13712 Spelling errors in the error message
1 parent 203e217 commit 6670b4e

File tree

8 files changed

+36
-36
lines changed

8 files changed

+36
-36
lines changed

include/my_handler_errors.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@
2424
static const char *handler_error_messages[]=
2525
{
2626
/* 120 */
27-
"Didn't find key on read or update",
27+
"Didn't find the key on read or update",
2828
"Duplicate key on write or update",
2929
"Internal (unspecified) error in handler",
30-
"Someone has changed the row since it was read (while the table was locked to prevent it)",
31-
"Wrong index given to function",
30+
"Someone has changed the row since it was read (even though the table was locked to prevent it)",
31+
"Wrong index given to a function",
3232
"Undefined handler error 125",
3333
"Index is corrupted",
3434
"Table file is corrupted",
3535
"Out of memory in engine",
3636
"Undefined handler error 129",
3737
/* 130 */
3838
"Incorrect file format",
39-
"Command not supported by database",
39+
"Command not supported by the engine",
4040
"Old database file",
4141
"No record read before update",
4242
"Record was already deleted (or record file crashed)",
@@ -47,7 +47,7 @@ static const char *handler_error_messages[]=
4747
"Too big row",
4848
/* 140 */
4949
"Wrong create options",
50-
"Duplicate unique key or constraint on write or update",
50+
"Duplicate unique key on write or update",
5151
"Unknown character set used in table",
5252
"Conflicting table definitions in sub-tables of MERGE table",
5353
"Table is crashed and last repair failed",
@@ -62,13 +62,13 @@ static const char *handler_error_messages[]=
6262
"Cannot delete a parent row",
6363
"No savepoint with that name",
6464
"Non unique key block size",
65-
"The table does not exist in engine",
66-
"The table already existed in storage engine",
67-
"Could not connect to storage engine",
65+
"The table does not exist in the storage engine",
66+
"The table already existed in the storage engine",
67+
"Could not connect to the storage engine",
6868
"Unexpected null pointer found when using spatial index",
69-
"The table changed in storage engine",
69+
"The table changed in the storage engine",
7070
/* 160 */
71-
"There's no partition in table for the given value",
71+
"There's no partition in the table for the given value",
7272
"Row-based binary logging of row failed",
7373
"Index needed in foreign key constraint",
7474
"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[]=
7777
"Failed to get next auto increment value",
7878
"Failed to set row auto increment value",
7979
"Unknown (generic) error from engine",
80-
"Record was not update. Original values was same as new values",
80+
"Record was not updated. New values were the same as original values",
8181
/* 170 */
8282
"It is not possible to log this statement",
8383
"The event was corrupt, leading to illegal data being read",
8484
"The table is of a new format not supported by this version",
8585
"The event could not be processed. No other handler error happened",
86-
"Got a fatal error during initialization of handler",
86+
"Fatal error during initialization of handler",
8787
"File too short; Expected more data in file",
8888
"Read page with wrong checksum",
8989
"Too many active concurrent transactions",
@@ -105,7 +105,7 @@ static const char *handler_error_messages[]=
105105
"Too many words in a FTS phrase or proximity search",
106106
"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.",
107107
"Foreign key cascade delete/update exceeds max depth",
108-
"Tablespace is missing for table"
108+
"Tablespace is missing for a table"
109109
};
110110

111111
#endif /* MYSYS_MY_HANDLER_ERRORS_INCLUDED */

mysql-test/suite/innodb/r/innodb_bug46000.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ show warnings;
66
Level Code Message
77
Warning 1280 Cannot Create Index with name 'GEN_CLUST_INDEX'. The name is reserved for the system default primary index.
88
Error 1280 Incorrect index name 'GEN_CLUST_INDEX'
9-
Warning 1030 Got error 124 "Wrong index given to function" from storage engine InnoDB
9+
Warning 1030 Got error 124 "Wrong index given to a function" from storage engine InnoDB
1010
create table bug46000(id int) engine=innodb;
1111
create index GEN_CLUST_INDEX on bug46000(id);
1212
ERROR 42000: Incorrect index name 'GEN_CLUST_INDEX'

mysql-test/suite/innodb/r/row_format_redundant.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ SELECT COUNT(*) FROM t3;
6767
COUNT(*)
6868
0
6969
RENAME TABLE t1 TO tee_one;
70-
ERROR HY000: Error on rename of './test/t1' to './test/tee_one' (errno: 155 "The table does not exist in engine")
70+
ERROR HY000: Error on rename of './test/t1' to './test/tee_one' (errno: 155 "The table does not exist in the storage engine")
7171
DROP TABLE t1;
7272
Warnings:
7373
Warning 1932 Table 'test.t1' doesn't exist in engine

mysql-test/suite/perfschema/r/misc.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ AND EVENT_NAME IN
4242
WHERE NAME LIKE "wait/synch/%")
4343
LIMIT 1;
4444
create table test.t1(a int) engine=performance_schema;
45-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
45+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
4646
SELECT object_schema, object_name FROM performance_schema.objects_summary_global_by_type
4747
WHERE object_schema='test';
4848
object_schema object_name
4949
create table test.t1 like performance_schema.events_waits_current;
50-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
50+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
5151
SELECT object_schema, object_name FROM performance_schema.objects_summary_global_by_type
5252
WHERE object_schema='test';
5353
object_schema object_name

mysql-test/suite/perfschema/r/privilege.result

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@ before insert on performance_schema.file_instances
155155
for each row begin end;
156156
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
157157
create table test.t1(a int) engine=PERFORMANCE_SCHEMA;
158-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
158+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
159159
create table test.t1 like performance_schema.setup_instruments;
160-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
160+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
161161
create table test.t1 like performance_schema.events_waits_current;
162-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
162+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
163163
create table test.t1 like performance_schema.file_instances;
164-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
164+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
165165
insert into performance_schema.setup_instruments
166166
set name="foo";
167167
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'setup_instruments'
@@ -254,13 +254,13 @@ before insert on performance_schema.file_instances
254254
for each row begin end;
255255
ERROR 42000: Access denied for user 'pfs_user_1'@'localhost' to database 'performance_schema'
256256
create table test.t1(a int) engine=PERFORMANCE_SCHEMA;
257-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
257+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
258258
create table test.t1 like performance_schema.setup_instruments;
259-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
259+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
260260
create table test.t1 like performance_schema.events_waits_current;
261-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
261+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
262262
create table test.t1 like performance_schema.file_instances;
263-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
263+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
264264
insert into performance_schema.setup_instruments
265265
set name="foo";
266266
ERROR 42000: INSERT command denied to user 'pfs_user_1'@'localhost' for table 'setup_instruments'
@@ -354,13 +354,13 @@ before insert on performance_schema.file_instances
354354
for each row begin end;
355355
ERROR 42000: Access denied for user 'pfs_user_2'@'localhost' to database 'performance_schema'
356356
create table test.t1(a int) engine=PERFORMANCE_SCHEMA;
357-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
357+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
358358
create table test.t1 like performance_schema.setup_instruments;
359-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
359+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
360360
create table test.t1 like performance_schema.events_waits_current;
361-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
361+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
362362
create table test.t1 like performance_schema.file_instances;
363-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
363+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
364364
insert into performance_schema.setup_instruments
365365
set name="foo";
366366
ERROR 42000: INSERT command denied to user 'pfs_user_2'@'localhost' for table 'setup_instruments'
@@ -454,13 +454,13 @@ before insert on performance_schema.file_instances
454454
for each row begin end;
455455
ERROR 42000: Access denied for user 'pfs_user_3'@'localhost' to database 'performance_schema'
456456
create table test.t1(a int) engine=PERFORMANCE_SCHEMA;
457-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
457+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
458458
create table test.t1 like performance_schema.setup_instruments;
459-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
459+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
460460
create table test.t1 like performance_schema.events_waits_current;
461-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
461+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
462462
create table test.t1 like performance_schema.file_instances;
463-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
463+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
464464
insert into performance_schema.setup_instruments
465465
set name="foo";
466466
ERROR 42000: INSERT command denied to user 'pfs_user_3'@'localhost' for table 'setup_instruments'

mysql-test/suite/rpl/r/rpl_gtid_errorhandling.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ SET @old_dbug= @@GLOBAL.debug_dbug;
113113
SET GLOBAL debug_dbug="+d,dummy_disable_default_dbug_output";
114114
SET GLOBAL debug_dbug="+d,gtid_fail_after_record_gtid";
115115
SET sql_log_bin=0;
116-
CALL mtr.add_suppression('Got error 131 "Command not supported by database" during COMMIT');
116+
CALL mtr.add_suppression('Got error 131 "Command not supported by the engine" during COMMIT');
117117
SET sql_log_bin=1;
118118
START SLAVE;
119119
include/wait_for_slave_sql_error.inc [errno=1180]

mysql-test/suite/rpl/t/rpl_gtid_errorhandling.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ SET @old_dbug= @@GLOBAL.debug_dbug;
132132
SET GLOBAL debug_dbug="+d,dummy_disable_default_dbug_output";
133133
SET GLOBAL debug_dbug="+d,gtid_fail_after_record_gtid";
134134
SET sql_log_bin=0;
135-
CALL mtr.add_suppression('Got error 131 "Command not supported by database" during COMMIT');
135+
CALL mtr.add_suppression('Got error 131 "Command not supported by the engine" during COMMIT');
136136
SET sql_log_bin=1;
137137
START SLAVE;
138138
--let $slave_sql_errno= 1180

storage/test_sql_discovery/mysql-test/sql_discovery/simple.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test_sql_discovery_statement
44
test_sql_discovery_write_frm ON
55
set sql_quote_show_create=0;
66
create table t1 (a int) engine=test_sql_discovery;
7-
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by database")
7+
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
88
select * from t1;
99
ERROR 42S02: Table 'test.t1' doesn't exist
1010
set @@test_sql_discovery_statement='t1:foobar bwa-ha-ha';

0 commit comments

Comments
 (0)