From f384ff58897fcd90ffa53bd183dbf09b8e9f8466 Mon Sep 17 00:00:00 2001 From: "serg@serg.mylan" <> Date: Sun, 27 Jul 2003 10:17:04 +0200 Subject: [PATCH] ulong is not portable --- include/mysql.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/mysql.h b/include/mysql.h index 719cf800234..8e8ffc2b788 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -542,15 +542,15 @@ typedef struct st_mysql_stmt typedef struct st_mysql_methods { my_bool STDCALL (*read_query_result)(MYSQL *mysql); - my_bool STDCALL (*advanced_command)(MYSQL *mysql, + my_bool STDCALL (*advanced_command)(MYSQL *mysql, enum enum_server_command command, - const char *header, - ulong header_length, - const char *arg, - ulong arg_length, my_bool skip_check); + const char *header, + unsigned long header_length, + const char *arg, + unsigned long arg_length, my_bool skip_check); MYSQL_RES * STDCALL (*store_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_STMT * STDCALL mysql_prepare(MYSQL * mysql, const char *query,