rpl_flush_log_loop.test
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:1k
源码类别:
MySQL数据库
开发平台:
Visual C++
- # Testing if "flush logs" command bouncing resulting in logs created in a loop
- # in case of bi-directional replication
- source include/master-slave.inc;
- connection slave;
- stop slave;
- --replace_result $MASTER_MYPORT MASTER_PORT
- eval change master to master_host='127.0.0.1',master_user='root',
- master_password='',master_port=$MASTER_MYPORT;
- start slave;
- connection master;
- --replace_result $SLAVE_MYPORT SLAVE_PORT
- eval change master to master_host='127.0.0.1',master_user='root',
- master_password='',master_port=$SLAVE_MYPORT;
- start slave;
- sleep 5;
- flush logs;
- sleep 5;
- --replace_result $SLAVE_MYPORT SLAVE_PORT
- --replace_column 1 # 33 #
- show slave status;
- # End of 4.1 tests