diff options
author | tsmith@quadxeon.mysql.com <> | 2007-06-05 17:51:30 +0200 |
---|---|---|
committer | tsmith@quadxeon.mysql.com <> | 2007-06-05 17:51:30 +0200 |
commit | 4b938045926f18adceb88eea0c398721f08ca6d3 (patch) | |
tree | 50b7ef6b918f2c9add6a6f5f3237ef8e777f57e8 /include/mysql_com.h | |
parent | 2cdb525f9fa20d608f6f35ba7d9526e6337112aa (diff) | |
parent | 6044940b258a964e19264e466fd4fd044dc495d3 (diff) | |
download | mariadb-git-4b938045926f18adceb88eea0c398721f08ca6d3.tar.gz |
Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/51
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/51
Diffstat (limited to 'include/mysql_com.h')
-rw-r--r-- | include/mysql_com.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h index d60426ae8e3..ae57e84a696 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -223,7 +223,7 @@ typedef struct st_net { 'query_cache_query' should be accessed only via query cache functions and methods to maintain proper locking. */ - gptr query_cache_query; + unsigned char *query_cache_query; my_bool report_error; /* We should report error (we have unreported error) */ my_bool return_errno; @@ -344,13 +344,13 @@ my_bool my_net_init(NET *net, Vio* vio); void my_net_local_init(NET *net); void net_end(NET *net); void net_clear(NET *net, my_bool clear_buffer); -my_bool net_realloc(NET *net, unsigned long length); +my_bool net_realloc(NET *net, size_t length); my_bool net_flush(NET *net); -my_bool my_net_write(NET *net,const char *packet,unsigned long len); +my_bool my_net_write(NET *net,const unsigned char *packet, size_t len); my_bool net_write_command(NET *net,unsigned char command, - const char *header, unsigned long head_len, - const char *packet, unsigned long len); -int net_real_write(NET *net,const char *packet,unsigned long len); + const unsigned char *header, size_t head_len, + const unsigned char *packet, size_t len); +int net_real_write(NET *net,const unsigned char *packet, size_t len); unsigned long my_net_read(NET *net); #ifdef _global_h @@ -451,7 +451,7 @@ void my_thread_end(void); #ifdef _global_h ulong STDCALL net_field_length(uchar **packet); my_ulonglong net_field_length_ll(uchar **packet); -char *net_store_length(char *pkg, ulonglong length); +uchar *net_store_length(uchar *pkg, ulonglong length); #endif #ifdef __cplusplus |