summaryrefslogtreecommitdiff
path: root/mysql-test/r/wait_timeout.result
Commit message (Collapse)AuthorAgeFilesLines
* Create 'main' test directory and move 't' and 'r' thereMichael Widenius2018-03-291-43/+0
|
* Fix threadpool to report connections aborted due to wait timeout.Vladislav Vaintroub2017-08-301-0/+6
| | | | Update wait_timeout.test to add test case for this.
* MDEV-6720 - enable connection log in mysqltest by defaultSergey Vojtovich2016-03-311-3/+7
|
* Fix for bug#39108: Set global wait timeout within the test, not more via opt ↵Horst Hunger2009-01-231-10/+23
| | | | | | | file. Deleted the opt file. Replaced the sleeps by wait condition. Made some beautyfications. Inserted review results.
* Added two possible error cases for a test.unknown2007-01-101-2/+2
| | | | | | | | | | | | | | | mysql-test/r/wait_timeout.result: Added two possible error cases for a test. Depending on a platform, either errno can occur and is correct. Possible errors are CR_SERVER_GONE_ERROR and CR_SERVER_LOST mysql-test/t/wait_timeout.test: Added two possible error cases for a test. Depending on a platform, either errno can occur and is correct. Possible errors are CR_SERVER_GONE_ERROR and CR_SERVER_LOST
* BUG#19951: Race conditions in test wait_timeout.unknown2006-07-061-0/+4
| | | | | | | | | | | | | | | | Fix random failures in test 'wait_timeout' that depend on exact timing. 1. Force a reconnect initially if necessary, as otherwise slow startup might have caused a connection timeout before the test can even start. 2. Explicitly disconnect the first connection to remove confusion about which connection aborts from timeout, causing test failure. mysql-test/r/wait_timeout.result: Fix two races in test. mysql-test/t/wait_timeout.test: Fix two races in test.
* Bug#2845 client fails to reconnect if using TCP/IPunknown2006-02-161-0/+8
| | | | | | | | | | | | | | | | | | | | - Detect that connection to server has been broken in "net_clear". Since net_clear is always called before we send command to server, we can be sure that server has not received the command. mysql-test/r/wait_timeout.result: Update test result mysql-test/t/wait_timeout-master.opt: Decrease wait_timeout value to avoid unneccessary sleeps mysql-test/t/wait_timeout.test: Test that same error message is returned when disconnected regardless of connection is socket or TCP Decrease sleep times sql/net_serv.cc: Make "net_clear" detect if connection with server has been broken by performing a select. If the select returns that there are data to read but no data can be read, that means the connection is broken. Signal disconnected to "write" functions by setting error to 2.
* Fix wait_timeout (and kill) handling on Mac OS X by cleaning up howunknown2005-10-111-0/+8
signal handlers are set up, the blocking flags for sockets are set, and which thread-related functions are used. (Bug #8731) configure.in: Fix flags for Darwin 6 and later. Simplify Darwin 7-9 blocks to simply be a catch-all for *darwin* so that future Darwin releases get the latest flags. include/config-win.h: Define my_sigset() instead of sigset(). include/my_pthread.h: Define my_sigset() instead of trying to monkey with sigset(), and favor an implementation based on sigaction(). mysys/my_pthread.c: Remove pthread_signal(), which is identical to the new my_sigset() macro. mysys/thr_alarm.c: Use my_sigset() instead of sigset(). sql/mysqld.cc: Use my_sigset() instead of signal() and sigset(), remove unnecessary definition of sigset on __amiga__. Remove unused THREAD_SPECIFIC_SIGPIPE code. A future improvement would be to re-assess the use of sigaction() here and convert its usage to use my_sigset(). vio/vio.c: Always call fcntl() to initialize flags of socket in initialization to avoid problems on systems that don't report the flags on a socket correctly right after it has been returned from accept(), such as FreeBSD, Mac OS X, and possibly other BSD-derived systems. vio/viosocket.c: If fcntl() fails in vio_blocking(), restore the flags stored in the vio struct. mysql-test/r/wait_timeout.result: New BitKeeper file ``mysql-test/r/wait_timeout.result'' mysql-test/t/wait_timeout-master.opt: New BitKeeper file ``mysql-test/t/wait_timeout-master.opt'' mysql-test/t/wait_timeout.test: New BitKeeper file ``mysql-test/t/wait_timeout.test''