| Server IP : 45.40.142.9 / Your IP : 216.73.216.250 Web Server : Apache System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : bayspec ( 506) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/mysql-test/r/ |
Upload File : |
SET @@global.wait_timeout= 2; disconnect default; connection wait_con; connection default; --disable_reconnect; SELECT 1; 1 1 connection wait_con; connection default; SELECT 2; Got one of the listed errors --enable_reconnect; SELECT 3; 3 3 disconnection default; connection wait_con; connection con1; --disable_reconnect; SELECT 1; 1 1 connection wait_con; connection con1; SELECT 2; Got one of the listed errors --enable_reconnect; SELECT 3; 3 3 SET @@global.wait_timeout= <start_value>; disconnection con1; # # Bug#54790: Use of non-blocking mode for sockets limits performance # # # Test UNIX domain sockets timeout. # # Open con1 and set a timeout. SET @@SESSION.wait_timeout = 2; # Wait for con1 to be disconnected. # Check that con1 has been disconnected. # CR_SERVER_LOST, CR_SERVER_GONE_ERROR SELECT 1; Got one of the listed errors # # Test TCP/IP sockets timeout. # # Open con1 and set a timeout. SET @@SESSION.wait_timeout = 2; # Wait for con1 to be disconnected. # Check that con1 has been disconnected. # CR_SERVER_LOST, CR_SERVER_GONE_ERROR SELECT 1; Got one of the listed errors