~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-21 15:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20100621153105-pbbz3t6nyrf9t2zq
Tags: upstream-5.1.48
ImportĀ upstreamĀ versionĀ 5.1.48

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
 
save_master_pos;
11
 
connection slave;
12
 
sync_with_master;
 
10
sync_slave_with_master;
13
11
 
14
12
#discover slaves
15
13
connection master;
16
 
--replace_result $MASTER_MYPORT MASTER_PORT
17
 
--replace_column 1 # 8 # 9 # 16 # 23 # 33 #
18
 
SHOW SLAVE STATUS;
 
14
--query_vertical SHOW SLAVE STATUS;
19
15
--replace_result $SLAVE_MYPORT SLAVE_PORT
20
16
SHOW SLAVE HOSTS;
21
17
rpl_probe;
25
21
create table t1 ( n int);
26
22
insert into t1 values (1),(2),(3),(4);
27
23
disable_rpl_parse;
28
 
save_master_pos;
29
 
connection slave;
30
 
sync_with_master;
 
24
sync_slave_with_master;
31
25
insert into t1 values(5);
32
26
connection master;
33
27
enable_rpl_parse;