~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_000015.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:
11
11
connection slave;
12
12
stop slave;
13
13
reset slave;
14
 
--vertical_results
15
 
--replace_result $MASTER_MYPORT MASTER_PORT
16
 
--replace_column 1 # 5 # 8 # 9 # 23 # 33 #
17
 
show slave status;
 
14
let $status_items= Master_Log_File, Read_Master_Log_Pos, Relay_Master_Log_File, Exec_Master_Log_Pos;
 
15
source include/show_slave_status.inc;
18
16
 
19
17
change master to master_host='127.0.0.1';
20
18
# The following needs to be cleaned up when change master is fixed
21
 
--vertical_results
22
 
--replace_result $MASTER_MYPORT MASTER_PORT
23
 
--replace_column 1 # 5 # 8 # 9 # 23 # 33 #
24
 
show slave status;
 
19
source include/show_slave_status.inc;
 
20
 
25
21
--replace_result $MASTER_MYPORT MASTER_PORT
26
22
eval change master to master_host='127.0.0.1',master_user='root',
27
23
 master_password='',master_port=$MASTER_MYPORT;
28
 
--vertical_results
29
 
--replace_result $MASTER_MYPORT MASTER_PORT
30
 
--replace_column 1 # 5 # 8 # 9 # 23 # 33 #
31
 
show slave status;
 
24
source include/show_slave_status.inc;
 
25
 
32
26
start slave;
33
27
sync_with_master;
 
28
let $status_items= Master_Log_File, Relay_Master_Log_File;
 
29
source include/show_slave_status.inc;
 
30
source include/check_slave_is_running.inc;
 
31
 
34
32
--vertical_results
35
 
--replace_result $MASTER_MYPORT MASTER_PORT
36
 
--replace_column 1 # 5 # 8 # 9 # 23 # 33 #
37
 
--replace_column 33 #
38
 
show slave status;
39
33
connection master;
40
34
--disable_warnings
41
35
drop table if exists t1;