You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Fixes misc. typos
found via `codespell -q 3`
This commit is contained in:
committed by
Sergei Golubchik
parent
061950f545
commit
212d4051be
@@ -7,7 +7,7 @@
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
Changes by monty:
|
||||
- Added include of string.h when nessessary.
|
||||
- Added include of string.h when necessary.
|
||||
- Removed two warnings from gcc.
|
||||
|
||||
This file is part of the GNU C Library. Its master source is NOT part of
|
||||
|
@@ -7,7 +7,7 @@
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
Changes by monty:
|
||||
- Added include of string.h when nessessary.
|
||||
- Added include of string.h when necessary.
|
||||
- Removed two warnings from gcc.
|
||||
|
||||
This file is part of the GNU C Library. Its master source is NOT part of
|
||||
|
@@ -4018,7 +4018,7 @@ static int test_rewind(MYSQL *mysql)
|
||||
rc= mysql_stmt_bind_result(stmt, &my_bind);
|
||||
check_stmt_rc(rc, stmt);
|
||||
|
||||
/* retreive all result sets till we are at the end */
|
||||
/* retrieve all result sets till we are at the end */
|
||||
while(!(rc=mysql_stmt_fetch(stmt)));
|
||||
FAIL_UNLESS(rc == MYSQL_NO_DATA, "rc != MYSQL_NO_DATA");
|
||||
|
||||
|
@@ -720,7 +720,7 @@ static int test_bug15518(MYSQL *mysql)
|
||||
|
||||
/*
|
||||
Use the same stmt and reprepare with another query that
|
||||
suceeds
|
||||
succeeds
|
||||
*/
|
||||
rc= mysql_stmt_prepare(stmt, "SHOW STATUS", 12);
|
||||
FAIL_UNLESS(!rc || mysql_stmt_errno(stmt) || mysql_errno(mysql), "Error expected");
|
||||
@@ -740,7 +740,7 @@ static int test_bug15518(MYSQL *mysql)
|
||||
|
||||
/*
|
||||
Use the same stmt and reprepare with another query that
|
||||
suceeds. The prepare should fail with error 2013 since
|
||||
succeeds. The prepare should fail with error 2013 since
|
||||
connection to server has been closed.
|
||||
*/
|
||||
rc= mysql_stmt_prepare(stmt, "SHOW STATUS", 12);
|
||||
@@ -2658,7 +2658,7 @@ static int test_bug5194(MYSQL *mysql)
|
||||
MAX_PARAM_COUNT * CHARS_PER_PARAM + 1);
|
||||
param_str= (char*) malloc(COLUMN_COUNT * CHARS_PER_PARAM);
|
||||
|
||||
FAIL_IF(my_bind == 0 || query == 0 || param_str == 0, "Not enought memory")
|
||||
FAIL_IF(my_bind == 0 || query == 0 || param_str == 0, "Not enough memory")
|
||||
|
||||
stmt= mysql_stmt_init(mysql);
|
||||
|
||||
@@ -2976,7 +2976,7 @@ static int test_bug6096(MYSQL *mysql)
|
||||
check_mysql_rc(rc, mysql);
|
||||
query_result= mysql_store_result(mysql);
|
||||
query_field_list= mysql_fetch_fields(query_result);
|
||||
FAIL_IF(!query_field_list, "fetch_fields faild");
|
||||
FAIL_IF(!query_field_list, "fetch_fields failed");
|
||||
query_field_count= mysql_num_fields(query_result);
|
||||
|
||||
stmt= mysql_stmt_init(mysql);
|
||||
|
Reference in New Issue
Block a user