diff options
Diffstat (limited to 'include/mysql.h')
-rw-r--r-- | include/mysql.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/mysql.h b/include/mysql.h index 8d497720a23..486caa5baa5 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 MySQL AB +/* Copyright (C) 2000-2003 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -60,6 +60,10 @@ typedef int my_socket; extern unsigned int mysql_port; extern char *mysql_unix_port; +#ifdef __NETWARE__ +#pragma pack(push, 8) /* 8 byte alignment */ +#endif + #define IS_PRI_KEY(n) ((n) & PRI_KEY_FLAG) #define IS_NOT_NULL(n) ((n) & NOT_NULL_FLAG) #define IS_BLOB(n) ((n) & BLOB_FLAG) @@ -418,6 +422,11 @@ int STDCALL mysql_drop_db(MYSQL *mysql, const char *DB); int simple_command(MYSQL *mysql,enum enum_server_command command, const char *arg, unsigned long length, my_bool skipp_check); unsigned long net_safe_read(MYSQL* mysql); +void STDCALL mysql_once_init(void); + +#ifdef __NETWARE__ +#pragma pack(pop) /* restore alignment */ +#endif #ifdef __cplusplus } |