~vlad-lesin/percona-server/mysql-5.0.33-original

« back to all changes in this revision

Viewing changes to mysql-test/t/rpl000017.test

  • Committer: Vlad Lesin
  • Date: 2012-07-31 09:21:34 UTC
  • Revision ID: vladislav.lesin@percona.com-20120731092134-zfodx022b7992wsi
VirginĀ 5.0.33

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
connect (master,localhost,root,,test,$MASTER_MYPORT,$MASTER_MYSOCK);
 
2
connect (slave,localhost,root,,test,$SLAVE_MYPORT,$SLAVE_MYSOCK);
 
3
connection master;
 
4
reset master;
 
5
grant replication slave on *.* to replicate@localhost identified by 'aaaaaaaaaaaaaaab';
 
6
grant replication slave on *.* to replicate@127.0.0.1 identified by 'aaaaaaaaaaaaaaab';
 
7
connection slave;
 
8
start slave;
 
9
connection master;
 
10
--disable_warnings
 
11
drop table if exists t1;
 
12
--enable_warnings
 
13
create table t1(n int);
 
14
insert into t1 values(24);
 
15
sync_slave_with_master;
 
16
select * from t1;
 
17
connection master;
 
18
drop table t1;
 
19
delete from mysql.user where user="replicate";
 
20
sync_slave_with_master;
 
21
 
 
22
# End of 4.1 tests