rpl_commit_after_flush.test
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:0k
源码类别:
MySQL数据库
开发平台:
Visual C++
- source include/master-slave.inc;
- source include/have_innodb.inc;
- create table t1 (a int) engine=innodb;
- begin;
- insert into t1 values(1);
- flush tables with read lock;
- commit;
- save_master_pos;
- connection slave;
- sync_with_master;
- # cleanup
- connection master;
- unlock tables;
- drop table t1;
- save_master_pos;
- connection slave;
- sync_with_master;
- # End of 4.1 tests