Skip to content

Commit 7be541f

Browse files
klemenssvoj
authored andcommitted
spelling fixes
1 parent e823023 commit 7be541f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+103
-103
lines changed

client/mysql_plugin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ static int find_tool(const char *tool_name, char *tool_path)
10021002

10031003
static int find_plugin(char *tp_path)
10041004
{
1005-
/* Check for existance of plugin */
1005+
/* Check for existence of plugin */
10061006
fn_format(tp_path, plugin_data.so_name, opt_plugin_dir, "", MYF(0));
10071007
if (!file_exists(tp_path))
10081008
{

client/mysql_upgrade.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ static int run_query(const char *query, DYNAMIC_STRING *ds_res,
545545
But mysql_upgrade is tightly bound to a specific server version
546546
anyway - it was mysql_fix_privilege_tables_sql script embedded
547547
into its binary - so even if it won't assume anything about server
548-
wsrep-ness, it won't be any less server-dependend.
548+
wsrep-ness, it won't be any less server-dependent.
549549
*/
550550
const uchar sql_log_bin[]= "SET SQL_LOG_BIN=0, WSREP_ON=OFF;";
551551
#else
@@ -758,7 +758,7 @@ static void print_conn_args(const char *tool_name)
758758

759759

760760
/*
761-
Check and upgrade(if neccessary) all tables
761+
Check and upgrade(if necessary) all tables
762762
in the server using "mysqlcheck --check-upgrade .."
763763
*/
764764

client/mysqlbinlog.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2542,7 +2542,7 @@ static Exit_status dump_local_log_entries(PRINT_EVENT_INFO *print_event_info,
25422542
/* read from stdin */
25432543
/*
25442544
Windows opens stdin in text mode by default. Certain characters
2545-
such as CTRL-Z are interpeted as events and the read() method
2545+
such as CTRL-Z are interpreted as events and the read() method
25462546
will stop. CTRL-Z is the EOF marker in Windows. to get past this
25472547
you have to open stdin in binary mode. Setmode() is used to set
25482548
stdin in binary mode. Errors on setting this mode result in

client/mysqltest.cc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2490,7 +2490,7 @@ VAR *var_obtain(const char *name, int len)
24902490

24912491

24922492
/*
2493-
- if variable starts with a $ it is regarded as a local test varable
2493+
- if variable starts with a $ it is regarded as a local test variable
24942494
- if not it is treated as a environment variable, and the corresponding
24952495
environment variable will be updated
24962496
*/
@@ -3325,7 +3325,7 @@ static int replace(DYNAMIC_STRING *ds_str,
33253325
NOTE
33263326
Although mysqltest is executed from cygwin shell, the command will be
33273327
executed in "cmd.exe". Thus commands like "rm" etc can NOT be used, use
3328-
mysqltest commmand(s) like "remove_file" for that
3328+
mysqltest command(s) like "remove_file" for that
33293329
*/
33303330

33313331
void do_exec(struct st_command *command)
@@ -6554,7 +6554,7 @@ int read_line(char *buf, int size)
65546554
start_lineno));
65556555
}
65566556

6557-
/* Skip all space at begining of line */
6557+
/* Skip all space at beginning of line */
65586558
skip_char= 1;
65596559
}
65606560
else if (end_of_query(c))
@@ -6566,10 +6566,10 @@ int read_line(char *buf, int size)
65666566
}
65676567
else if (c == '}')
65686568
{
6569-
/* A "}" need to be by itself in the begining of a line to terminate */
6569+
/* A "}" need to be by itself in the beginning of a line to terminate */
65706570
*p++= c;
65716571
*p= 0;
6572-
DBUG_PRINT("exit", ("Found '}' in begining of a line at line: %d",
6572+
DBUG_PRINT("exit", ("Found '}' in beginning of a line at line: %d",
65736573
cur_file->lineno));
65746574
DBUG_RETURN(0);
65756575
}
@@ -7931,7 +7931,7 @@ void handle_error(struct st_command *command,
79317931
{
79327932
/*
79337933
The query after a "--require" failed. This is fine as long the server
7934-
returned a valid reponse. Don't allow 2013 or 2006 to trigger an
7934+
returned a valid response. Don't allow 2013 or 2006 to trigger an
79357935
abort_not_supported_test
79367936
*/
79377937
if (err_errno == CR_SERVER_LOST ||
@@ -9012,7 +9012,7 @@ int main(int argc, char **argv)
90129012
var_set_string("MYSQLTEST_FILE", cur_file->file_name);
90139013
init_re();
90149014

9015-
/* Cursor protcol implies ps protocol */
9015+
/* Cursor protocol implies ps protocol */
90169016
if (cursor_protocol)
90179017
ps_protocol= 1;
90189018

@@ -9110,7 +9110,7 @@ int main(int argc, char **argv)
91109110
abort_on_error);
91119111

91129112
/*
9113-
some commmands need to be executed or at least parsed unconditionally,
9113+
some commands need to be executed or at least parsed unconditionally,
91149114
because they change the grammar.
91159115
*/
91169116
ok_to_do= cur_block->ok || command->type == Q_DELIMITER
@@ -9542,7 +9542,7 @@ int main(int argc, char **argv)
95429542
die("Test ended with parsing disabled");
95439543

95449544
/*
9545-
The whole test has been executed _sucessfully_.
9545+
The whole test has been executed _successfully_.
95469546
Time to compare result or save it to record file.
95479547
The entire output from test is in the log file
95489548
*/
@@ -9588,7 +9588,7 @@ int main(int argc, char **argv)
95889588

95899589
verbose_msg("Test has succeeded!");
95909590
timer_output();
9591-
/* Yes, if we got this far the test has suceeded! Sakila smiles */
9591+
/* Yes, if we got this far the test has succeeded! Sakila smiles */
95929592
cleanup_and_exit(0);
95939593
return 0; /* Keep compiler happy too */
95949594
}
@@ -10083,7 +10083,7 @@ void free_replace_regex()
1008310083
buf_len_p - result buffer length. Will change if the buffer is reallocated
1008410084
pattern - regexp pattern to match
1008510085
replace - replacement expression
10086-
string - the string to perform substituions in
10086+
string - the string to perform substitutions in
1008710087
icase - flag, if set to 1 the match is case insensitive
1008810088
*/
1008910089
int reg_replace(char** buf_p, int* buf_len_p, char *pattern,

client/sql_string.cc.dontuse

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ bool String::set_or_copy_aligned(const char *str,uint32 arg_length,
267267
return copy_aligned(str, arg_length, offset, cs);
268268
}
269269

270-
/* Copy with charset convertion */
270+
/* Copy with charset conversion */
271271

272272
bool String::copy(const char *str, uint32 arg_length,
273273
CHARSET_INFO *from_cs, CHARSET_INFO *to_cs, uint *errors)

debian/additions/mysqlreport

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,15 +357,15 @@ sub read_relative_infiles
357357

358358
select $tmpfile_fh[$i];
359359

360-
# Read infile again and copy each set of status values to seperate tmp files
360+
# Read infile again and copy each set of status values to separate tmp files
361361
open INFILE, "< $infile" or warn and next;
362362
while(<INFILE>)
363363
{
364364
next if /^\+/;
365365
next if /^$/;
366366

367367
# The infile must begin with the system variable values.
368-
# Therefore, the first occurance of Aborted_clients indicates the beginning
368+
# Therefore, the first occurrence of Aborted_clients indicates the beginning
369369
# of the first set of status values if no sets have occurred yet ($stat_n == 0).
370370
# In this case, the following status values are printed to the current fh,
371371
# along with the system variable values read thus far, until Aborted_clients

debian/mariadb-server-10.1.mysql.init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)
2525
CONF=/etc/mysql/my.cnf
2626
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
2727

28-
# priority can be overriden and "-s" adds output to stderr
28+
# priority can be overridden and "-s" adds output to stderr
2929
ERR_LOGGER="logger -p daemon.err -t /etc/init.d/mysql -i"
3030

3131
# Safeguard (relative paths, core dumps..)

debian/mariadb-server-10.1.postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ db_stop # in case invoke failes
239239
# dh_systemd_start doesn't emit anything since we still ship /etc/init.d/mysql.
240240
# Thus MariaDB server is started via init.d script, which in turn redirects to
241241
# systemctl. If we upgrade from MySQL mysql.service may be masked, which also
242-
# means init.d script is disabled. Unmask mysql service explicitely.
242+
# means init.d script is disabled. Unmask mysql service explicitly.
243243
# Check first that the command exists, to avoid emitting any warning messages.
244244
if [ -x "$(command -v deb-systemd-helper)" ]; then
245245
deb-systemd-helper unmask mysql.service > /dev/null

extra/charset2html.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ static void print_cs(CHARSET_INFO *cs)
9797
{
9898
/*
9999
Control characters 0x0080..0x009F are dysplayed by some
100-
browers as if they were letters. Don't print them to
100+
browsers as if they were letters. Don't print them to
101101
avoid confusion.
102102
*/
103103
printf("<TD>ctrl<TD>ctrl<TD>ctrl");

extra/replace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
The programs make a DFA-state-machine of the strings and the speed isn't
3737
dependent on the count of replace-strings (only of the number of replaces).
3838
A line is assumed ending with \n or \0.
39-
There are no limit exept memory on length of strings.
39+
There are no limit except memory on length of strings.
4040
4141
Written by Monty.
4242
fill_buffer_retaining() is taken from gnu-grep and modified.

0 commit comments

Comments
 (0)