@@ -146,7 +146,7 @@ struct property {
146146 my_bool *var;/* Actual variable */
147147 my_bool set;/* Has been set for ONE command */
148148 my_bool old;/* If set, thus is the old value */
149- my_bool reverse;/* Varible is true if disabled */
149+ my_bool reverse;/* Variable is true if disabled */
150150 const char *env_name;/* Env. variable name */
151151};
152152
@@ -566,7 +566,7 @@ DYNAMIC_ARRAY regex_arr; /* stores a list of st_regex subsitutions */
566566Temporary storage areas for substitutions. To reduce unnessary copying
567567and memory freeing/allocation, we pre-allocate two buffers, and alternate
568568their use, one for input/one for output, the roles changing on the next
569- st_regex substition . At the end of substitutions buf points to the
569+ st_regex substitution . At the end of substitutions buf points to the
570570one containing the final result.
571571*/
572572char * buf;
@@ -3095,7 +3095,7 @@ void open_file(const char *name)
30953095 strxnmov (buff, sizeof (buff), opt_overlay_dir, suffix, name, NullS);
30963096
30973097 /*
3098- Overlayed rty/include/thing.inc can contain the line
3098+ Overlaid rty/include/thing.inc can contain the line
30993099 --source thing.inc
31003100 which would mean to include qwe/include/thing.inc.
31013101 But it looks like including "itself", so don't try to open the file,
@@ -4803,7 +4803,7 @@ int do_save_master_pos()
48034803mysql_errno (mysql), mysql_error (mysql));
48044804
48054805 if (!(res = mysql_store_result (mysql)))
4806- die (" mysql_store_result() retuned NULL for '%s'" , query);
4806+ die (" mysql_store_result() returned NULL for '%s'" , query);
48074807 if (!(row = mysql_fetch_row (res)))
48084808 die (" empty result in show master status" );
48094809 strnmov (master_pos.file , row[0 ], sizeof (master_pos.file )-1 );
@@ -5350,7 +5350,7 @@ void do_get_errcodes(struct st_command *command)
53505350 p++;
53515351 }
53525352
5353- /* Convert the sting to int */
5353+ /* Convert the string to int */
53545354 if (!str2int (start, 10 , (long ) INT_MIN, (long ) INT_MAX, &val))
53555355die (" Invalid argument to error: '%s'" , command->first_argument );
53565356
@@ -5742,7 +5742,7 @@ int connect_n_handle_errors(struct st_command *command,
57425742 dynstr_append_mem (ds, delimiter, delimiter_length);
57435743 dynstr_append_mem (ds, " \n " , 1 );
57445744 }
5745- /* Simlified logging if enabled */
5745+ /* Simplified logging if enabled */
57465746 if (!disable_connect_log && !disable_query_log)
57475747 {
57485748 replace_dynstr_append (ds, command->query );
@@ -8219,7 +8219,7 @@ void handle_no_error(struct st_command *command)
82198219 SYNPOSIS
82208220 run_query_stmt
82218221 mysql - mysql handle
8222- command - currrent command pointer
8222+ command - current command pointer
82238223 query - query string to execute
82248224 query_len - length query string to execute
82258225 ds - output buffer where to store result form query
@@ -8459,7 +8459,7 @@ void run_query_stmt(struct st_connection *cn, struct st_command *command,
84598459/*
84608460 Create a util connection if one does not already exists
84618461 and use that to run the query
8462- This is done to avoid implict commit when creating/dropping objects such
8462+ This is done to avoid implicit commit when creating/dropping objects such
84638463 as view, sp etc.
84648464*/
84658465
@@ -8500,7 +8500,7 @@ int util_query(MYSQL* org_mysql, const char* query){
85008500 SYNPOSIS
85018501 run_query()
85028502 mysql mysql handle
8503- commandcurrrent command pointer
8503+ commandcurrent command pointer
85048504
85058505 flags control the phased/stages of query execution to be performed
85068506 if QUERY_SEND_FLAG bit is on, the query will be sent. If QUERY_REAP_FLAG
@@ -10257,7 +10257,7 @@ int multi_reg_replace(struct st_replace_regex* r,char* val)
1025710257 if (!reg_replace (&out_buf, buf_len_p, re.pattern , re.replace ,
1025810258 in_buf, re.icase ))
1025910259 {
10260- /* if the buffer has been reallocated, make adjustements */
10260+ /* if the buffer has been reallocated, make adjustments */
1026110261 if (save_out_buf != out_buf)
1026210262 {
1026310263 if (save_out_buf == r->even_buf )
@@ -10524,7 +10524,7 @@ typedef struct st_rep_set {
1052410524 uint found_len;/* Best match to date */
1052510525 int found_offset;
1052610526 uint table_offset;
10527- uint size_of_bits;/* For convinience */
10527+ uint size_of_bits;/* For convenience */
1052810528} REP_SET;
1052910529
1053010530typedef struct st_rep_sets {
@@ -10627,7 +10627,7 @@ REPLACE *init_replace(char * *from, char * *to,uint count,
1062710627 DBUG_RETURN (0 );
1062810628 }
1062910629 (void ) make_new_set (&sets);/* Set starting set */
10630- make_sets_invisible (&sets);/* Hide previus sets */
10630+ make_sets_invisible (&sets);/* Hide previous sets */
1063110631 used_sets=-1 ;
1063210632 word_states=make_new_set (&sets);/* Start of new word */
1063310633 start_states=make_new_set (&sets);/* This is first state */
0 commit comments