rpl_master_pos_wait.test
来自「这是linux下运行的mysql软件包,可用于linux 下安装 php + m」· TEST 代码 · 共 19 行
TEST
19 行
# See if master_pos_wait(,,timeout)# Terminates with "timeout expired" (-1)source include/master-slave.inc;save_master_pos;connection slave;sync_with_master;# Ask for a master log that has certainly not been reached yet# timeout= 2 secondsselect master_pos_wait('master-bin.999999',0,2);explain extended select master_pos_wait('master-bin.999999',0,2);# Testcase for bug 651 (master_pos_wait() hangs if slave idle and STOP SLAVE).send select master_pos_wait('master-bin.999999',0);connection slave1;stop slave sql_thread;connection slave;reap;# End of 4.1 tests
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?