mariadb/include
unknown 0b2a28f5cf BUG#9678: Client library hangs after network communication failure
(back-port to 4.0)

Socket timeouts in client library were used only on Windows.
Additionally, in 4.0 write operations erroneously set read timeout.

The solution is to use socket timeouts in client library on all
systems were they are supported, and to differentiate between read
and write timeouts.

No test case is provided because it is impossible to simulate network
failure in current test suite.


include/violite.h:
  Add argument to vio_timeout() to determine which timeout should be set:
  for read (false) or for write (true).
libmysqld/lib_vio.c:
  Add argument to vio_timeout() to determine which timeout should be set:
  for read (false) or for write (true).
sql/net_serv.cc:
  Add argument to vio_timeout() to determine which timeout should be set:
  for read (false) or for write (true).
vio/viosocket.c:
  Add argument to vio_timeout() to determine which timeout should be set:
  for read (false) or for write (true).
  Implement socket timeouts on POSIX systems.
2006-09-18 22:02:06 +04:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
config-netware.h NetWare specific change to increase thread stack size. 2006-01-12 15:10:12 +02:00
config-os2.h Merge with 3.23.51 2002-07-25 22:46:28 +03:00
config-win.h Bug#4445 2005-02-16 16:05:18 +00:00
errmsg.h WL #1510 "Implement support for "commercial" binaries on handshake", 2004-03-17 20:04:50 +03:00
ft_global.h --ft_stopword_file command-line option 2003-01-23 13:20:37 +01:00
hash.h merged from 3.23 to pull the LOAD DATA INFILE fix as rpl000001 was failing. 2002-03-01 19:36:46 -07:00
heap.h Fix for BUG#2477 "Slave stop with error after master reboot if use HEAP tables": 2004-01-30 00:05:34 +01:00
help_end.h Several fixes for Netware. 2005-08-24 22:03:34 +03:00
help_start.h Several fixes for Netware. 2005-08-24 22:03:34 +03:00
m_ctype.h Remove not used define (my_strxfrm) 2003-09-11 06:09:34 +03:00
m_string.h memcpy_overlap() removed, as 2005-10-12 18:50:25 +05:00
Makefile.am Added new header files 2004-05-26 00:01:23 +03:00
md5.h Update copyright 2001-12-06 14:10:51 +02:00
merge.h Update copyright 2001-12-06 14:10:51 +02:00
my_aes.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
my_alarm.h Update copyright 2001-12-06 14:10:51 +02:00
my_alloc.h Small improvement to alloc_root 2002-11-16 20:19:10 +02:00
my_base.h Fix autoincrement for signed columns (Bug #1366) 2003-12-12 22:26:58 +02:00
my_bitmap.h Merge with 3.23.47 2001-12-15 05:12:21 +02:00
my_dbug.h Change dbug.h -> my_dbug.h (Portability fix) 2003-03-17 19:06:14 +02:00
my_dir.h Fix for Bug #1952 2003-12-12 03:39:29 +03:00
my_getopt.h Added global my_getopt_error_reporter function pointer which is 2004-08-31 21:27:58 +05:00
my_global.h Better bug fix for #14400 "Query joins wrong rows from table which is subject of "concurrent insert"" 2006-08-10 22:41:19 +03:00
my_list.h Update copyright 2001-12-06 14:10:51 +02:00
my_net.h 4 small items in this: 2003-10-31 23:20:23 +01:00
my_no_pthread.h merge with 3.23.52 2002-08-12 04:04:43 +03:00
my_nosys.h Update copyright 2001-12-06 14:10:51 +02:00
my_pthread.h Allow DEFAULT_THREAD_STACK to be set via -DDEFAULT_THREAD_STACK=... so our 2005-01-05 19:02:17 +01:00
my_semaphore.h more #ifdef THREAD added 2003-04-30 12:32:43 +02:00
my_sys.h Bug#12920 - key_read_requests counter appears to re-set 2005-09-14 09:56:49 +02:00
my_tree.h Increase max size of number of elements in key. This fixed a bug when using count(DISTINCT) with lot of distinct values and big 'max_heap_table_size' 2004-03-16 13:51:35 +02:00
myisam.h Fix for BUG#4785: 2004-09-22 16:29:15 +04:00
myisammrg.h ANALYZE for MERGE 2002-12-10 00:06:05 +01:00
myisampack.h include/mysisampack.h 2002-11-12 13:28:26 +01:00
mysql.h mysql.h: 2004-11-09 00:19:39 +04:00
mysql_com.h Fix to make Windows compilation smoother 2004-05-26 21:40:27 +05:00
mysql_embed.h Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt' 2004-05-19 16:38:12 +03:00
mysql_version.h.in New MYSQL_SERVER_SUFFIX usage (for easier compilation) 2004-05-25 02:28:44 +03:00
mysqld_error.h added error message for receiving variable with wrong GLOBAL|LOCAL type 2003-12-17 16:37:47 -04:00
mysys_err.h Call my_sync() after all data is written to .frm file 2003-11-02 15:55:02 +02:00
nisam.h Update copyright 2001-12-06 14:10:51 +02:00
queues.h fix_max_connections to resize alarm_queue (Bug #1435) 2003-10-06 14:11:16 +02:00
raid.h Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rijndael.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
sha1.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
sslopt-case.h fixed so that --ssl and --skip-ssl works with the MySQL clients. 2002-09-17 23:46:53 +03:00
sslopt-longopts.h Update mysql-test results after merge 2002-09-18 02:21:29 +03:00
sslopt-vars.h Update copyright 2001-12-06 14:10:51 +02:00
t_ctype.h Update copyright 2001-12-06 14:10:51 +02:00
thr_alarm.h Added patches from Novell 2004-05-25 22:00:14 +03:00
thr_lock.h Review fixes: 2005-07-26 17:55:58 +03:00
violite.h BUG#9678: Client library hangs after network communication failure 2006-09-18 22:02:06 +04:00