diff options
author | unknown <hf@deer.(none)> | 2003-07-14 16:38:51 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-07-14 16:38:51 +0500 |
commit | 90091dee465cef6cd50ef85ed9dd67b06a0edfd2 (patch) | |
tree | cfa7135a5a38a92eb1b6324c0848682301a164a4 /sql-common/pack.c | |
parent | caeb95a3abfe47be742a77390177bddd50b841e6 (diff) | |
download | mariadb-git-90091dee465cef6cd50ef85ed9dd67b06a0edfd2.tar.gz |
Some mistakes fixed
libmysql/libmysql.c:
was removed by mistake during merging
libmysqld/Makefile.am:
link should be removed first
libmysqld/libmysqld.c:
We don't need this line here
sql-common/pack.c:
Function was moved to old place
sql/sql_client.cc:
we do need this function
Diffstat (limited to 'sql-common/pack.c')
-rw-r--r-- | sql-common/pack.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sql-common/pack.c b/sql-common/pack.c index 43e0098bf29..e31e596ae7a 100644 --- a/sql-common/pack.c +++ b/sql-common/pack.c @@ -18,11 +18,6 @@ #include <mysql_com.h> #include <mysql.h> -ulong net_buffer_length=8192; -ulong max_allowed_packet= 1024L*1024L*1024L; -ulong net_read_timeout= NET_READ_TIMEOUT; -ulong net_write_timeout= NET_WRITE_TIMEOUT; - /* Get the length of next field. Change parameter to point at fieldstart */ ulong STDCALL net_field_length(uchar **packet) { @@ -83,19 +78,6 @@ my_ulonglong net_field_length_ll(uchar **packet) #endif } -/* - Functions called my my_net_init() to set some application specific variables -*/ - -void my_net_local_init(NET *net) -{ - net->max_packet= (uint) net_buffer_length; - net->read_timeout= (uint) net_read_timeout; - net->write_timeout=(uint) net_write_timeout; - net->retry_count= 1; - net->max_packet_size= max(net_buffer_length, max_allowed_packet); -} - char * net_store_length(char *pkg, ulonglong length) { |