wait_timeout.test
来自「这是linux下运行的mysql软件包,可用于linux 下安装 php + m」· TEST 代码 · 共 31 行
TEST
31 行
# 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 + =
减小字号Ctrl + -
显示快捷键?