1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Various typo fixes

Includes fixes from PR-201.
This commit is contained in:
Georg Richter
2022-07-03 13:45:37 +02:00
parent 35826cd51c
commit 5f1f517cfa
12 changed files with 22 additions and 21 deletions

View File

@@ -33,7 +33,7 @@ ENDIF()
SET(API_TESTS ${API_TESTS} "async")
#exclude following tests from ctests, since we need to run them maually with different credentials
#exclude following tests from ctests, since we need to run them manually with different credentials
SET(MANUAL_TESTS "t_conc173" "rpl_api")
# Get finger print from server certificate
IF(WITH_SSL)

View File

@@ -755,7 +755,7 @@ static int test_bug11656(MYSQL *mysql)
return OK;
}
/* Cursors: opening a cursor to a compilicated query with ORDER BY */
/* Cursors: opening a cursor to a complicated query with ORDER BY */
static int test_bug11901(MYSQL *mysql)
{
@@ -1700,7 +1700,7 @@ static int test_bug9478(MYSQL *mysql)
return OK;
}
/* Crash when opening a cursor to a query with DISTICNT and no key */
/* Crash when opening a cursor to a query with DISTINCT and no key */
static int test_bug9520(MYSQL *mysql)
{

View File

@@ -607,7 +607,7 @@ static int test_fetch_null(MYSQL *mysql)
strcpy((char *)query , "SELECT * FROM test_fetch_null");
rc= my_stmt_result(mysql, query);
FAIL_UNLESS(rc == 3, "Exoected 3 rows");
FAIL_UNLESS(rc == 3, "Expected 3 rows");
stmt = mysql_stmt_init(mysql);
FAIL_IF(!stmt, mysql_error(mysql));
@@ -630,7 +630,7 @@ static int test_fetch_null(MYSQL *mysql)
FAIL_IF(!is_null[i], "Expected is_null");
}
FAIL_UNLESS(nData == 1000 || nData == 88 || nData == 389789, "Wrong value for nData");
FAIL_UNLESS(is_null[i] == 0, "Exoected !is_null");
FAIL_UNLESS(is_null[i] == 0, "Expected !is_null");
FAIL_UNLESS(length[i] == 4, "Expected length=4");
}
FAIL_UNLESS(rc == 3, "Expected 3 rows");

View File

@@ -4382,7 +4382,7 @@ static int test_set_option(MYSQL *mysql)
rc= 0;
while (mysql_fetch_row(result))
rc++;
FAIL_UNLESS(rc == 2, "rowcunt != 2");
FAIL_UNLESS(rc == 2, "rowcount != 2");
mysql_free_result(result);
stmt= mysql_stmt_init(mysql);

View File

@@ -3262,7 +3262,7 @@ static int test_mem_overun(MYSQL *mysql)
int rc, i, length;
/*
Test a memory ovverun bug when a table had 1000 fields with
Test a memory overrun bug when a table had 1000 fields with
a row of data
*/
rc= mysql_query(mysql, "drop table if exists t_mem_overun");

View File

@@ -1060,7 +1060,7 @@ static int test_conc160(MYSQL *mysql)
result= mysql_store_result(mysql);
field= mysql_fetch_field(result);
FAIL_UNLESS(field->flags & NUM_FLAG, "Numceric flag not set");
FAIL_UNLESS(field->flags & NUM_FLAG, "Numeric flag not set");
mysql_free_result(result);
return OK;