~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/suite/engines/funcs/t/rpl_REDIRECT.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
--disable_ps_protocol
8
8
 
9
9
#first, make sure the slave has had enough time to register
10
 
sync_slave_with_master;
 
10
save_master_pos;
 
11
connection slave;
 
12
sync_with_master;
11
13
 
12
14
#discover slaves
13
15
connection master;
14
 
--query_vertical SHOW SLAVE STATUS;
 
16
--replace_result $MASTER_MYPORT MASTER_PORT
 
17
--replace_column 1 # 8 # 9 # 16 # 23 # 33 #
 
18
SHOW SLAVE STATUS;
15
19
--replace_result $SLAVE_MYPORT SLAVE_PORT
16
20
SHOW SLAVE HOSTS;
17
21
rpl_probe;
21
25
create table t1 ( n int);
22
26
insert into t1 values (1),(2),(3),(4);
23
27
disable_rpl_parse;
24
 
sync_slave_with_master;
 
28
save_master_pos;
 
29
connection slave;
 
30
sync_with_master;
25
31
insert into t1 values(5);
26
32
connection master;
27
33
enable_rpl_parse;