📄 wait_timeout.test
字号:
# This tests not performed with embedded server-- source include/not_embedded.inc## Bug #8731: wait_timeout does not work on Mac OS X#--disable_reconnectselect 1;# wait_timeout is 1, so we should get disconnected now--sleep 2# When the connection is closed in this way, the error code should# be consistent see bug#2845 for an explanation--error 2006select 2;--enable_reconnectselect 3;# Do the same test as above on a TCP connectionconnect (con1,127.0.0.1,root,,test,$MASTER_MYPORT,);--disable_reconnectselect 1;# wait_timeout is 1, so we should get disconnected now--sleep 2# When the connection is closed in this way, the error code should# be consistent see bug#2845 for an explanation--error 2006select 2;--enable_reconnectselect 3;disconnect con1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -