summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-10-15 21:41:13 +0300
committermonty@mashka.mysql.fi <>2003-10-15 21:41:13 +0300
commit84d9d9807841cbbcb756c24ef56f0d0fe5ec3e2f (patch)
tree1cffa0627ab98f85815d577bb2824198ce5de99b /include
parent4897c6649d927419d95ad9a315dc6316110be2d4 (diff)
downloadmariadb-git-84d9d9807841cbbcb756c24ef56f0d0fe5ec3e2f.tar.gz
Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
Fixed chsize() problem on windows Extend default timeout on windows clients to 1 year (to avoid timeout problems)
Diffstat (limited to 'include')
-rw-r--r--include/mysql.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h
index 95730c0f2f5..0c91266e19c 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -60,6 +60,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