Skip to content

Commit f2830af

Browse files
fluesvampcvicentiu
authored andcommitted
Fix typos in the codebase.
1 parent 195833f commit f2830af

22 files changed

+49
-48
lines changed

BUILD/SETUP.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ get_make_parallel_flag
121121

122122
# SSL library to use.--with-ssl will select our bundled yaSSL
123123
# implementation of SSL. --with-ssl=yes will first try system library
124-
# then the boundled one --with-ssl=system will use the system library.
124+
# then the bundled one --with-ssl=system will use the system library.
125125
# We use bundled by default as this is guaranteed to work with Galera
126126
SSL_LIBRARY=--with-ssl
127127

BUILD/compile-irix-mips64-mipspro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ path=`dirname $0`
5555
. "$path/autorun.sh"
5656

5757
# C options:
58-
# -apo - auto-parallize for multiprocessors (implies -mp)
58+
# -apo - auto-parallelize for multiprocessors (implies -mp)
5959
# -mp - generate multiprocessor code
6060
# These two common optimization options apparently use 'sproc' model of
6161
# threading, which is not compatible with PTHREADS: don't add them unless you

client/echo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/*
1818
echo is a replacement for the "echo" command builtin to cmd.exe
19-
on Windows, to get a Unix eqvivalent behaviour when running commands
19+
on Windows, to get a Unix equivalent behaviour when running commands
2020
like:
2121
$> echo "hello" | mysql
2222

client/mysql.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2334,7 +2334,7 @@ static bool add_line(String &buffer, char *line, size_t line_length,
23342334
!(*in_string &&
23352335
(mysql.server_status & SERVER_STATUS_NO_BACKSLASH_ESCAPES)))
23362336
{
2337-
// Found possbile one character command like \c
2337+
// Found possible one character command like \c
23382338

23392339
/*
23402340
The null-terminating character (ASCII '\0') marks the end of user

client/mysql_plugin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ static char *convert_path(const char *argument)
281281
282282
@param[in] path The Windows path to examine.
283283
284-
@returns string containing excaped quotes if spaces found in path
284+
@returns string containing escaped quotes if spaces found in path
285285
*/
286286
static char *add_quotes(const char *path)
287287
{

client/mysql_upgrade.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ static char upgrade_info_file[FN_REFLEN]= {0};
701701
Open or create mysql_upgrade_info file in servers data dir.
702702
703703
Take a lock to ensure there cannot be any other mysql_upgrades
704-
runninc concurrently
704+
running concurrently
705705
*/
706706

707707
const char *create_error_message=
@@ -762,7 +762,7 @@ static void open_mysql_upgrade_file()
762762
/**
763763
Place holder for versions that require a major upgrade
764764
765-
@return 0 upgrade has alredy been run on this version
765+
@return 0 upgrade has already been run on this version
766766
@return 1 upgrade has to be run
767767
768768
*/
@@ -786,7 +786,7 @@ static int faulty_server_versions(const char *version)
786786
file it's always better to report that the upgrade hasn't
787787
been performed.
788788
789-
@return 0 Upgrade has alredy been run on this version
789+
@return 0 Upgrade has already been run on this version
790790
@return > 0 Upgrade has to be run
791791
*/
792792

client/mysqladmin.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
along with this program; if not, write to the Free Software
1616
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */
1717

18-
/* maintaince of mysql databases */
18+
/* maintenance of mysql databases */
1919

2020
#include "client_priv.h"
2121
#include <signal.h>

client/mysqlbinlog.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ enum Exit_status {
175175

176176
/**
177177
Pointer to the last read Annotate_rows_log_event. Having read an
178-
Annotate_rows event, we should not print it immediatedly because all
178+
Annotate_rows event, we should not print it immediately because all
179179
subsequent rbr events can be filtered away, and have to keep it for a while.
180180
Also because of that when reading a remote Annotate event we have to keep
181181
its binary log representation in a separately allocated buffer.

client/mysqlcheck.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ static int handle_request_for_tables(char *tables, size_t length,
919919
case DO_ANALYZE:
920920
if (view)
921921
{
922-
printf("%-50s %s\n", tables, "Can't run anaylyze on a view");
922+
printf("%-50s %s\n", tables, "Can't run analyze on a view");
923923
DBUG_RETURN(1);
924924
}
925925
DBUG_ASSERT(!view);

client/mysqldump.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,8 +1087,8 @@ static int get_options(int *argc, char ***argv)
10871087
return(ho_error);
10881088

10891089
/*
1090-
Dumping under --system=stats with --replace or --inser-ignore is safe and will not
1091-
retult into race condition. Otherwise dump only structure and ignore data by default
1090+
Dumping under --system=stats with --replace or --insert-ignore is safe and will not
1091+
result into race condition. Otherwise dump only structure and ignore data by default
10921092
while dumping.
10931093
*/
10941094
if (!(opt_system & OPT_SYSTEM_STATS) && !(opt_ignore || opt_replace_into))
@@ -2864,7 +2864,7 @@ static inline my_bool general_log_or_slow_log_tables(const char *db,
28642864
!my_strcasecmp(charset_info, table, "transaction_registry"));
28652865
}
28662866
/*
2867-
get_sequence_structure-- retrievs sequence structure, prints out corresponding
2867+
get_sequence_structure-- retrieves sequence structure, prints out corresponding
28682868
CREATE statement
28692869
ARGS
28702870
seq - sequence name
@@ -2926,7 +2926,7 @@ static void get_sequence_structure(const char *seq, const char *db)
29262926
DBUG_VOID_RETURN;
29272927
}
29282928
/*
2929-
get_table_structure -- retrievs database structure, prints out corresponding
2929+
get_table_structure -- retrieves database structure, prints out corresponding
29302930
CREATE statement and fills out insert_pat if the table is the type we will
29312931
be dumping.
29322932
@@ -4531,7 +4531,7 @@ static int dump_all_users_roles_and_grants()
45314531
echo "$dosomethingspecial"
45324532
) | mysql -h $host
45334533
4534-
doesn't end up with a suprise that the $dosomethingspecial cannot
4534+
doesn't end up with a surprise that the $dosomethingspecial cannot
45354535
be done because `special_role` isn't active.
45364536
45374537
We create a new role for importing that becomes the default admin for new
@@ -4540,8 +4540,8 @@ static int dump_all_users_roles_and_grants()
45404540
create new admins for the created role.
45414541
45424542
At the end of the import the mariadb_dump_import_role is be dropped,
4543-
which implictly drops all its admin aspects of the dropped role.
4544-
This is significiantly easlier than revoking the ADMIN of each role
4543+
which implicitly drops all its admin aspects of the dropped role.
4544+
This is significantly easier than revoking the ADMIN of each role
45454545
from the current user.
45464546
*/
45474547
fputs("SELECT COALESCE(CURRENT_ROLE(),'NONE') into @current_role;\n"
@@ -6960,7 +6960,7 @@ int main(int argc, char **argv)
69606960
if (opt_system & OPT_SYSTEM_SERVERS)
69616961
dump_all_servers();
69626962

6963-
/* These must be last as they explictly change the current database to mysql */
6963+
/* These must be last as they explicitly change the current database to mysql */
69646964
if (opt_system & OPT_SYSTEM_STATS)
69656965
dump_all_stats();
69666966

0 commit comments

Comments
 (0)