summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-07-27 10:17:04 +0200
committerunknown <serg@serg.mylan>2003-07-27 10:17:04 +0200
commitc4747440001aa9a0fc911418cd0bd3ab9be6c5b1 (patch)
tree68dabe4662f108f3d4362a330915ed240834b488 /include
parentab0641ccfe0c2ca9fe0ec15e0e1f5154395fe858 (diff)
downloadmariadb-git-c4747440001aa9a0fc911418cd0bd3ab9be6c5b1.tar.gz
ulong is not portable
Diffstat (limited to 'include')
-rw-r--r--include/mysql.h12
1 files 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,