From d8f21a949ae42aba60bbfb667a7f4b34606db68b Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 25 May 2007 11:38:23 +0200 Subject: [PATCH] Bug #26664 test suite times out on OS X 64bit - Make the two "my_net_set*" function only visible when included from my_global.h include/mysql_com.h: Make the two "my_net_set*" functions only visible when included from my_global.h --- include/mysql_com.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/mysql_com.h b/include/mysql_com.h index cea3a0739e3..889579e3622 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -345,8 +345,10 @@ my_bool net_write_command(NET *net,unsigned char command, int net_real_write(NET *net,const char *packet,unsigned long len); unsigned long my_net_read(NET *net); +#ifdef _global_h void my_net_set_write_timeout(NET *net, uint timeout); void my_net_set_read_timeout(NET *net, uint timeout); +#endif /* The following function is not meant for normal usage