diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2021-09-08 10:33:17 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2021-09-08 10:33:17 +0400 |
commit | 5a6d207009278c2a6038d5500ac765d3b84c05a7 (patch) | |
tree | 72ca570dc7eac50741ddf0206cd97c3fcb2f1753 | |
parent | b2cca80fc4292b65bf66343672e8baeb05e707ac (diff) | |
download | mariadb-git-bb-10.7-hf-mdev-19275.tar.gz |
MDEV-19275bb-10.7-hf-mdev-19275
STDCALL fixed.
-rw-r--r-- | include/mysql/service_sql.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/mysql/service_sql.h b/include/mysql/service_sql.h index 5050793f655..22770883be2 100644 --- a/include/mysql/service_sql.h +++ b/include/mysql/service_sql.h @@ -45,23 +45,23 @@ extern "C" { #endif extern struct sql_service_st { - MYSQL * STDCALL (*mysql_init)(MYSQL *mysql); + MYSQL *(STDCALL *mysql_init)(MYSQL *mysql); MYSQL *(*mysql_real_connect_local)(MYSQL *mysql, const char *host, const char *user, const char *db, unsigned long clientflag); - MYSQL * STDCALL (*mysql_real_connect)(MYSQL *mysql, const char *host, + MYSQL *(STDCALL *mysql_real_connect)(MYSQL *mysql, const char *host, const char *user, const char *passwd, const char *db, unsigned int port, const char *unix_socket, unsigned long clientflag); - unsigned int STDCALL (*mysql_errno)(MYSQL *mysql); - const char * STDCALL (*mysql_error)(MYSQL *mysql); - int STDCALL (*mysql_real_query)(MYSQL *mysql, const char *q, + unsigned int(STDCALL *mysql_errno)(MYSQL *mysql); + const char *(STDCALL *mysql_error)(MYSQL *mysql); + int (STDCALL *mysql_real_query)(MYSQL *mysql, const char *q, unsigned long length); - my_ulonglong STDCALL (*mysql_affected_rows)(MYSQL *mysql); - my_ulonglong STDCALL (*mysql_num_rows)(MYSQL_RES *res); - MYSQL_RES * STDCALL (*mysql_store_result)(MYSQL *mysql); - void STDCALL (*mysql_free_result)(MYSQL_RES *result); - MYSQL_ROW STDCALL (*mysql_fetch_row)(MYSQL_RES *result); - void STDCALL (*mysql_close)(MYSQL *sock); + my_ulonglong (STDCALL *mysql_affected_rows)(MYSQL *mysql); + my_ulonglong (STDCALL *mysql_num_rows)(MYSQL_RES *res); + MYSQL_RES *(STDCALL *mysql_store_result)(MYSQL *mysql); + void (STDCALL *mysql_free_result)(MYSQL_RES *result); + MYSQL_ROW (STDCALL *mysql_fetch_row)(MYSQL_RES *result); + void (STDCALL *mysql_close)(MYSQL *sock); } *sql_service; #ifdef MYSQL_DYNAMIC_PLUGIN |