Commit 35084c5a authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-19275 : Fix compiler error - calling covention mismatch (32bit Windows)

Error C2440	'initializing': cannot convert from 'MYSQL_RES *(__stdcall *)(MYSQL *)' to 'MYSQL_RES *(__cdecl *)(MYSQL *)'
parent 9624bb0f
...@@ -6322,13 +6322,17 @@ static void loc_on_close_free(MYSQL *mysql) ...@@ -6322,13 +6322,17 @@ static void loc_on_close_free(MYSQL *mysql)
mysql->info_buffer= 0; mysql->info_buffer= 0;
} }
static MYSQL_RES *loc_use_result(MYSQL *mysql)
{
return mysql_store_result(mysql);
}
static MYSQL_METHODS local_methods= static MYSQL_METHODS local_methods=
{ {
loc_read_query_result, /* read_query_result */ loc_read_query_result, /* read_query_result */
loc_advanced_command, /* advanced_command */ loc_advanced_command, /* advanced_command */
loc_read_rows, /* read_rows */ loc_read_rows, /* read_rows */
mysql_store_result, /* use_result */ loc_use_result, /* use_result */
loc_fetch_lengths, /* fetch_lengths */ loc_fetch_lengths, /* fetch_lengths */
loc_flush_use_result, /* flush_use_result */ loc_flush_use_result, /* flush_use_result */
NULL, /* read_change_user_result */ NULL, /* read_change_user_result */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment