diff options
author | unknown <monty@mashka.mysql.fi> | 2003-10-15 21:41:13 +0300 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2003-10-15 21:41:13 +0300 |
commit | b06eb4d81a82be2a215e8b9b726d214c559e3f40 (patch) | |
tree | 1cffa0627ab98f85815d577bb2824198ce5de99b /include | |
parent | 48446c0f73a99f7cb6a1f00700e6ea066ed28984 (diff) | |
download | mariadb-git-b06eb4d81a82be2a215e8b9b726d214c559e3f40.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)
include/mysql.h:
Added client timeouts (for TCP/IP)
libmysql/libmysql.c:
Added client timeouts (for TCP/IP)
mysql-test/r/create.result:
More tests for CREATE TABLE IF NOT EXISTS ... SELECT
mysql-test/t/create.test:
More tests for CREATE TABLE IF NOT EXISTS ... SELECT
mysys/my_chsize.c:
Fix for windows
sql/handler.h:
Remove not used field 'if_not_exists'
Ordered fields to be more optimized for new CPU's
Added field 'table_existed'
sql/slave.cc:
Cleanup temporary tables when slave ends
sql/sql_class.h:
Remove not used 'do_not_drop' field
sql/sql_insert.cc:
Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
sql/sql_table.cc:
Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
Diffstat (limited to 'include')
-rw-r--r-- | include/mysql.h | 3 |
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 |