summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@seravo.fi>2016-03-04 02:09:37 +0200
committerOtto Kekäläinen <otto@seravo.fi>2016-03-04 02:09:37 +0200
commit1777fd5f556a9c68cae01ad2aadaf4865984e649 (patch)
tree931f4a045467951a6ef8833631d6f0aeb04b53c3 /tests
parentf8251911a44f6b65c2377e9945e208e240dfec33 (diff)
downloadmariadb-git-1777fd5f556a9c68cae01ad2aadaf4865984e649.tar.gz
Fix spelling: occurred, execute, which etc
Diffstat (limited to 'tests')
-rw-r--r--tests/async_queries.c2
-rw-r--r--tests/mysql_client_test.c8
-rw-r--r--tests/nonblock-wrappers.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/async_queries.c b/tests/async_queries.c
index 75229eec4b4..76e884e6a69 100644
--- a/tests/async_queries.c
+++ b/tests/async_queries.c
@@ -265,7 +265,7 @@ again:
{
if (mysql_errno(&sd->mysql))
{
- /* An error occured. */
+ /* An error occurred. */
printf("%d | Error: %s\n", sd->index, mysql_error(&sd->mysql));
}
else
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 51e549d9d1b..473084e1b57 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -11725,10 +11725,10 @@ static void test_bug5315()
rc= mysql_stmt_prepare(stmt, stmt_text, strlen(stmt_text));
DIE_UNLESS(rc == 0);
if (!opt_silent)
- printf("Excuting mysql_change_user\n");
+ printf("Executing mysql_change_user\n");
mysql_change_user(mysql, opt_user, opt_password, current_db);
if (!opt_silent)
- printf("Excuting mysql_stmt_execute\n");
+ printf("Executing mysql_stmt_execute\n");
rc= mysql_stmt_execute(stmt);
DIE_UNLESS(rc != 0);
if (rc)
@@ -11738,10 +11738,10 @@ static void test_bug5315()
}
/* check that connection is OK */
if (!opt_silent)
- printf("Excuting mysql_stmt_close\n");
+ printf("Executing mysql_stmt_close\n");
mysql_stmt_close(stmt);
if (!opt_silent)
- printf("Excuting mysql_stmt_init\n");
+ printf("Executing mysql_stmt_init\n");
stmt= mysql_stmt_init(mysql);
rc= mysql_stmt_prepare(stmt, stmt_text, strlen(stmt_text));
DIE_UNLESS(rc == 0);
diff --git a/tests/nonblock-wrappers.h b/tests/nonblock-wrappers.h
index 3ed470b3400..d6f42511f3a 100644
--- a/tests/nonblock-wrappers.h
+++ b/tests/nonblock-wrappers.h
@@ -30,7 +30,7 @@
/*
Run the appropriate poll() syscall to wait for the event that libmysql
- requested. Return which event(s) occured.
+ requested. Return which event(s) occurred.
*/
static int
wait_for_mysql(MYSQL *mysql, int status)