1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-05 15:55:58 +03:00

Typo fixes (from PR #200)

This commit is contained in:
Georg Richter
2022-06-27 13:23:35 +02:00
parent 271ae9c707
commit 3f7719c74d
17 changed files with 49 additions and 42 deletions

View File

@@ -109,7 +109,7 @@ my_connect_async(MARIADB_PVIO *pvio,
my_context_yield(&b->async_context);
if (b->suspend_resume_hook)
(*b->suspend_resume_hook)(FALSE, b->suspend_resume_hook_user_data);
if (b->events_occured & MYSQL_WAIT_TIMEOUT)
if (b->events_occurred & MYSQL_WAIT_TIMEOUT)
return -1;
s_err_size= sizeof(res);
@@ -248,7 +248,7 @@ my_ssl_write_async(struct mysql_async_context *b, SSL *ssl,
} \
\
b->active= 1; \
b->events_occured= ready_status; \
b->events_occurred= ready_status; \
res= my_context_continue(&b->async_context); \
b->active= 0; \
if (res > 0) \
@@ -304,7 +304,7 @@ my_ssl_write_async(struct mysql_async_context *b, SSL *ssl,
} \
\
b->active= 1; \
b->events_occured= ready_status; \
b->events_occurred= ready_status; \
res= my_context_continue(&b->async_context); \
b->active= 0; \
if (res > 0) \