From 0d82e49fe1a2603912e703d4516ba6b465390f84 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 3 Oct 2002 13:12:31 +0500 Subject: Failed to compile on FreeBSD: no ulong type, one should use unsigned long instead include/mysql.h: Failed to compile on FreeBSD --- include/mysql.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/mysql.h') diff --git a/include/mysql.h b/include/mysql.h index 376de1a0e08..64b118ca8b1 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -447,7 +447,7 @@ typedef struct st_mysql_stmt unsigned long param_count; /* parameters count */ unsigned long field_count; /* fields count */ unsigned long long_length; /* long buffer alloced length */ - ulong stmt_id; /* Id for prepared statement */ + unsigned long stmt_id; /* Id for prepared statement */ uint last_errno; /* error code */ enum MY_STMT_STATE state; /* statement state */ char last_error[MYSQL_ERRMSG_SIZE]; /* error message */ @@ -506,7 +506,7 @@ int STDCALL mysql_drop_db(MYSQL *mysql, const char *DB); my_bool simple_command(MYSQL *mysql,enum enum_server_command command, const char *arg, - ulong length, my_bool skip_check); + unsigned long length, my_bool skip_check); unsigned long net_safe_read(MYSQL* mysql); #ifdef __cplusplus -- cgit v1.2.1