Skip to content

Commit 7c5609f

Browse files
musvaagegrooverdan
authored andcommitted
typos
1 parent 3ddc00d commit 7c5609f

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
lines changed

mysql-test/suite/innodb_fts/t/innodb-fts-stopword.test

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ select @@innodb_ft_user_stopword_table;
3939
--error 1231
4040
set global innodb_ft_server_stopword_table = "not_defined";
4141

42-
# Define a correct formated user stopword table
42+
# Define a correct formatted user stopword table
4343
create table user_stopword(value varchar(30)) engine = innodb;
4444

4545
# The set operation should be successful
@@ -319,11 +319,11 @@ INSERT INTO articles (title,body) VALUES
319319
# No records expeced for select
320320
SELECT * FROM articles WHERE MATCH(title,body) AGAINST("+show +will" IN BOOLEAN MODE);
321321
SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('will');
322-
# Define a correct formated user stopword table
322+
# Define a correct formatted user stopword table
323323
create table user_stopword(value varchar(30)) engine = innodb;
324324
# The set operation should be successful
325325
set session innodb_ft_user_stopword_table = "test/user_stopword";
326-
# Define a correct formated server stopword table
326+
# Define a correct formatted server stopword table
327327
create table server_stopword(value varchar(30)) engine = innodb;
328328
# The set operation should be successful
329329
set global innodb_ft_server_stopword_table = "test/server_stopword";
@@ -422,7 +422,7 @@ INSERT INTO articles (title,body) VALUES
422422
# No records expeced for select
423423
SELECT * FROM articles WHERE MATCH(title,body) AGAINST("+show +will" IN BOOLEAN MODE);
424424
SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('will');
425-
# Define a correct formated user stopword table
425+
# Define a correct formatted user stopword table
426426
create table user_stopword(value varchar(30)) engine = innodb;
427427
# The set operation should be successful
428428
set session innodb_ft_user_stopword_table = "test/user_stopword";
@@ -444,7 +444,7 @@ SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('mysqld');
444444

445445
# set user stopword list empty
446446
set session innodb_ft_user_stopword_table = default;
447-
# Define a correct formated user stopword table
447+
# Define a correct formatted user stopword table
448448
create table server_stopword(value varchar(30)) engine = innodb;
449449
# The set operation should be successful
450450
set global innodb_ft_server_stopword_table = "test/server_stopword";
@@ -580,7 +580,7 @@ SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('"the will"@11' IN BOOL
580580

581581
--connection con1
582582
SET SESSION innodb_ft_enable_stopword = 1;
583-
# Define a correct formated user stopword table
583+
# Define a correct formatted user stopword table
584584
create table user_stopword(value varchar(30)) engine = innodb;
585585
# The set operation should be successful
586586
set session innodb_ft_user_stopword_table = "test/user_stopword";
@@ -599,7 +599,7 @@ SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('will');
599599
SELECT * FROM articles WHERE MATCH(title,body) AGAINST("+show +will" IN BOOLEAN MODE);
600600
SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('will');
601601
select @@innodb_ft_user_stopword_table;
602-
# Define a correct formated user stopword table
602+
# Define a correct formatted user stopword table
603603
create table user_stopword_1(value varchar(30)) engine = innodb;
604604
# The set operation should be successful
605605
set session innodb_ft_user_stopword_table = "test/user_stopword_1";
@@ -620,7 +620,7 @@ SET SESSION innodb_ft_enable_stopword = 1;
620620
SET SESSION innodb_ft_user_stopword_table=default;
621621
select @@innodb_ft_user_stopword_table;
622622
select @@innodb_ft_server_stopword_table;
623-
# Define a correct formated server stopword table
623+
# Define a correct formatted server stopword table
624624
create table server_stopword(value varchar(30)) engine = innodb;
625625
# The set operation should be successful
626626
SET GLOBAL innodb_ft_server_stopword_table = "test/server_stopword";

mysql-test/suite/innodb_fts/t/stopword.test

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ SET @innodb_ft_user_stopword_table_orig=@@innodb_ft_user_stopword_table;
3838
set global innodb_ft_server_stopword_table = "not_defined";
3939
set global innodb_ft_server_stopword_table = NULL;
4040

41-
# Define a correct formated user stopword table
41+
# Define a correct formatted user stopword table
4242
create table user_stopword(value varchar(30)) engine = innodb;
4343

4444
# The set operation should be successful
@@ -311,11 +311,11 @@ INSERT INTO articles (title,body) VALUES
311311
# No records expeced for select
312312
SELECT * FROM articles WHERE MATCH(title,body) AGAINST("+show +will" IN BOOLEAN MODE);
313313
SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('will');
314-
# Define a correct formated user stopword table
314+
# Define a correct formatted user stopword table
315315
create table user_stopword(value varchar(30)) engine = innodb;
316316
# The set operation should be successful
317317
set session innodb_ft_user_stopword_table = "test/user_stopword";
318-
# Define a correct formated server stopword table
318+
# Define a correct formatted server stopword table
319319
create table server_stopword(value varchar(30)) engine = innodb;
320320
# The set operation should be successful
321321
set global innodb_ft_server_stopword_table = "test/server_stopword";
@@ -411,7 +411,7 @@ INSERT INTO articles (title,body) VALUES
411411
# No records expeced for select
412412
SELECT * FROM articles WHERE MATCH(title,body) AGAINST("+show +will" IN BOOLEAN MODE);
413413
SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('will');
414-
# Define a correct formated user stopword table
414+
# Define a correct formatted user stopword table
415415
create table user_stopword(value varchar(30)) engine = innodb;
416416
# The set operation should be successful
417417
set session innodb_ft_user_stopword_table = "test/user_stopword";
@@ -433,7 +433,7 @@ SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('mysqld');
433433

434434
# set user stopword list empty
435435
set session innodb_ft_user_stopword_table = default;
436-
# Define a correct formated user stopword table
436+
# Define a correct formatted user stopword table
437437
create table server_stopword(value varchar(30)) engine = innodb;
438438
# The set operation should be successful
439439
set global innodb_ft_server_stopword_table = "test/server_stopword";
@@ -572,7 +572,7 @@ SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('"the will"@11' IN BOOL
572572
--echo "In connection 1"
573573
--connection con1
574574
SET SESSION innodb_ft_enable_stopword = 1;
575-
# Define a correct formated user stopword table
575+
# Define a correct formatted user stopword table
576576
create table user_stopword(value varchar(30)) engine = innodb;
577577
# The set operation should be successful
578578
set session innodb_ft_user_stopword_table = "test/user_stopword";
@@ -592,7 +592,7 @@ SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('will');
592592
SELECT * FROM articles WHERE MATCH(title,body) AGAINST("+show +will" IN BOOLEAN MODE);
593593
SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('will');
594594
select @@innodb_ft_user_stopword_table;
595-
# Define a correct formated user stopword table
595+
# Define a correct formatted user stopword table
596596
create table user_stopword_1(value varchar(30)) engine = innodb;
597597
# The set operation should be successful
598598
set session innodb_ft_user_stopword_table = "test/user_stopword_1";
@@ -614,7 +614,7 @@ SET SESSION innodb_ft_enable_stopword = 1;
614614
SET SESSION innodb_ft_user_stopword_table=default;
615615
select @@innodb_ft_user_stopword_table;
616616
select @@innodb_ft_server_stopword_table;
617-
# Define a correct formated server stopword table
617+
# Define a correct formatted server stopword table
618618
create table server_stopword(value varchar(30)) engine = innodb;
619619
# The set operation should be successful
620620
SET GLOBAL innodb_ft_server_stopword_table = "test/server_stopword";

mysql-test/suite/parts/t/partition_repair_myisam.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ while ($i)
150150
# 2 - after _mi_mark_file_changed (only marked index as opened)
151151
# 3 - after write_record (updated datafile + not closed/updated index)
152152
# 4 - after flush_cached_blocks (updated index/datafiles, not closed index)
153-
# 5 - (Not used) after mi_state_info_write (fully uppdated/closed index file)
153+
# 5 - (Not used) after mi_state_info_write (fully updated/closed index file)
154154
# (this was verified to be a harmless crash, since everything was written)
155155
# 6 - partly updated datafile (insert 6 small records, delete 5,3,1,
156156
# insert one larger record (2.5 X small) and break in gdb before it has

storage/connect/value.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@ bool TYPVAL<TYPE>::Compall(PGLOBAL g, PVAL *vp, int np, OPVAL op)
11991199

12001200
/***********************************************************************/
12011201
/* FormatValue: This function set vp (a STRING value) to the string */
1202-
/* constructed from its own value formated using the fmt format. */
1202+
/* constructed from its own value formatted using the fmt format. */
12031203
/* This function assumes that the format matches the value type. */
12041204
/***********************************************************************/
12051205
template <class TYPE>
@@ -1711,7 +1711,7 @@ bool TYPVAL<PSZ>::Compute(PGLOBAL g, PVAL *vp, int np, OPVAL op)
17111711

17121712
/***********************************************************************/
17131713
/* FormatValue: This function set vp (a STRING value) to the string */
1714-
/* constructed from its own value formated using the fmt format. */
1714+
/* constructed from its own value formatted using the fmt format. */
17151715
/* This function assumes that the format matches the value type. */
17161716
/***********************************************************************/
17171717
bool TYPVAL<PSZ>::FormatValue(PVAL vp, PCSZ fmt)
@@ -2325,7 +2325,7 @@ bool BINVAL::IsEqual(PVAL vp, bool chktype)
23252325

23262326
/***********************************************************************/
23272327
/* FormatValue: This function set vp (a STRING value) to the string */
2328-
/* constructed from its own value formated using the fmt format. */
2328+
/* constructed from its own value formatted using the fmt format. */
23292329
/* This function assumes that the format matches the value type. */
23302330
/***********************************************************************/
23312331
bool BINVAL::FormatValue(PVAL vp, PCSZ fmt)
@@ -2864,7 +2864,7 @@ bool DTVAL::WeekNum(PGLOBAL g, int& nval)
28642864

28652865
/***********************************************************************/
28662866
/* FormatValue: This function set vp (a STRING value) to the string */
2867-
/* constructed from its own value formated using the fmt format. */
2867+
/* constructed from its own value formatted using the fmt format. */
28682868
/* This function assumes that the format matches the value type. */
28692869
/***********************************************************************/
28702870
bool DTVAL::FormatValue(PVAL vp, PCSZ fmt)

storage/innobase/row/row0row.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ row_raw_format_int(
11911191
ulint buf_size, /*!< in: output buffer size
11921192
in bytes */
11931193
ibool* format_in_hex) /*!< out: should the data be
1194-
formated in hex */
1194+
formatted in hex */
11951195
{
11961196
ulint ret;
11971197

@@ -1239,7 +1239,7 @@ row_raw_format_str(
12391239
ulint buf_size, /*!< in: output buffer size
12401240
in bytes */
12411241
ibool* format_in_hex) /*!< out: should the data be
1242-
formated in hex */
1242+
formatted in hex */
12431243
{
12441244
ulint charset_coll;
12451245

storage/maria/ma_locking.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ int _ma_readinfo(register MARIA_HA *info __attribute__ ((unused)),
280280

281281

282282
/*
283-
Every isam-function that uppdates the isam-database MUST end with this
283+
Every isam-function that updates the isam-database MUST end with this
284284
request
285285
286286
NOTES

storage/maria/ma_loghandler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ char *translog_filename_by_fileno(uint32 file_no, char *path)
956956
DBUG_ENTER("translog_filename_by_fileno");
957957
DBUG_ASSERT(file_no <= 0xfffffff);
958958

959-
/* log_descriptor.directory is already formated */
959+
/* log_descriptor.directory is already formatted */
960960
end= strxmov(path, log_descriptor.directory, "aria_log.0000000", NullS);
961961
length= (uint) (int10_to_str(file_no, buff, 10) - buff);
962962
strmov(end - length +1, buff);

storage/myisam/mi_locking.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ int _mi_readinfo(register MI_INFO *info, int lock_type, int check_keybuffer)
506506

507507

508508
/*
509-
Every isam-function that uppdates the isam-database MUST end with this
509+
Every isam-function that updates the isam-database MUST end with this
510510
request
511511
*/
512512

storage/rocksdb/ha_rocksdb.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7696,7 +7696,7 @@ int rdb_split_normalized_tablename(const std::string &fullname,
76967696
into MyRocks Data Dictionary
76977697
The method is called during create table/partition, truncate table/partition
76987698
7699-
@param table_name IN table's name formated as
7699+
@param table_name IN table's name formatted as
77007700
'dbname.tablename'
77017701
@param table_arg IN sql table
77027702
@param auto_increment_value IN specified table's auto increment value

0 commit comments

Comments
 (0)