#################################
# Test updated to use a wrapper #
#################################

-- source include/master-slave.inc

eval CREATE TABLE t1 (a INT) ENGINE=$engine_type;

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;
sync_slave_with_master;

# End of 4.1 tests
