summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2002-10-03 13:12:31 +0500
committerunknown <bar@bar.mysql.r18.ru>2002-10-03 13:12:31 +0500
commit0d82e49fe1a2603912e703d4516ba6b465390f84 (patch)
tree85ee6bc324fffac843f62b797ba822a5162d47d4 /include
parent896bc7d08912a605d7c9ac9790a7bbf95d34ff08 (diff)
downloadmariadb-git-0d82e49fe1a2603912e703d4516ba6b465390f84.tar.gz
Failed to compile on FreeBSD:
no ulong type, one should use unsigned long instead include/mysql.h: Failed to compile on FreeBSD
Diffstat (limited to 'include')
-rw-r--r--include/mysql.h4
1 files changed, 2 insertions, 2 deletions
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