summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-05-25 11:38:23 +0200
committerunknown <msvensson@pilot.blaudden>2007-05-25 11:38:23 +0200
commitd8f21a949ae42aba60bbfb667a7f4b34606db68b (patch)
tree25ff1173c073e41b329e776d71d455e460e252a4 /include
parent26b4a7db2c4bcb678c71dba845e4d7ee0f0bf170 (diff)
downloadmariadb-git-d8f21a949ae42aba60bbfb667a7f4b34606db68b.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/mysql_com.h2
1 files changed, 2 insertions, 0 deletions
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