Commit f384ff58 authored by serg@serg.mylan's avatar serg@serg.mylan

ulong is not portable

parent e0d9c9cd
...@@ -545,12 +545,12 @@ typedef struct st_mysql_methods ...@@ -545,12 +545,12 @@ typedef struct st_mysql_methods
my_bool STDCALL (*advanced_command)(MYSQL *mysql, my_bool STDCALL (*advanced_command)(MYSQL *mysql,
enum enum_server_command command, enum enum_server_command command,
const char *header, const char *header,
ulong header_length, unsigned long header_length,
const char *arg, const char *arg,
ulong arg_length, my_bool skip_check); unsigned long arg_length, my_bool skip_check);
MYSQL_RES * STDCALL (*store_result)(MYSQL *mysql); MYSQL_RES * STDCALL (*store_result)(MYSQL *mysql);
MYSQL_RES * STDCALL (*use_result)(MYSQL *mysql); MYSQL_RES * STDCALL (*use_result)(MYSQL *mysql);
void STDCALL (*fetch_lengths)(ulong *to, MYSQL_ROW column, uint field_count); void STDCALL (*fetch_lengths)(unsigned long *to, MYSQL_ROW column, uint field_count);
} MYSQL_METHODS; } MYSQL_METHODS;
MYSQL_STMT * STDCALL mysql_prepare(MYSQL * mysql, const char *query, MYSQL_STMT * STDCALL mysql_prepare(MYSQL * mysql, const char *query,
......
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