summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h
index a8ced90f414..f44d515478c 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -66,6 +66,9 @@ typedef int my_socket;
extern unsigned int mysql_port;
extern char *mysql_unix_port;
+#define CLIENT_NET_READ_TIMEOUT 365*24*3600 /* Timeout on read */
+#define CLIENT_NET_WRITE_TIMEOUT 365*24*3600 /* Timeout on write */
+
#ifdef __NETWARE__
#pragma pack(push, 8) /* 8 byte alignment */
#endif