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

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_row_until.result

  • 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:
1
 
stop slave;
2
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
3
 
reset master;
4
 
reset slave;
5
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
6
 
start slave;
 
1
include/master-slave.inc
 
2
[connection master]
7
3
CREATE TABLE t1(n INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
8
4
INSERT INTO t1 VALUES (1),(2),(3),(4);
9
5
DROP TABLE t1;
14
10
include/stop_slave.inc
15
11
RESET SLAVE;
16
12
START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=master_pos_drop_t1
 
13
include/wait_for_slave_sql_to_stop.inc
17
14
SELECT * FROM t1;
18
15
n
19
16
1
20
17
2
21
18
3
22
19
4
 
20
include/check_slave_param.inc [Exec_Master_Log_Pos]
23
21
START SLAVE UNTIL MASTER_LOG_FILE='master-no-such-bin.000001', MASTER_LOG_POS=MASTER_LOG_POS;
 
22
include/wait_for_slave_sql_to_stop.inc
24
23
SELECT * FROM t1;
25
24
n
26
25
1
27
26
2
28
27
3
29
28
4
 
29
include/check_slave_param.inc [Exec_Master_Log_Pos]
30
30
START SLAVE UNTIL RELAY_LOG_FILE='slave-relay-bin.000002', RELAY_LOG_POS=relay_pos_insert1_t2
 
31
include/wait_for_slave_sql_to_stop.inc
31
32
SELECT * FROM t2;
32
33
n
33
34
1
34
35
2
 
36
include/check_slave_param.inc [Exec_Master_Log_Pos]
35
37
START SLAVE;
 
38
include/wait_for_slave_to_start.inc
36
39
include/stop_slave.inc
37
40
START SLAVE SQL_THREAD UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=master_pos_create_t2
 
41
include/wait_for_slave_param.inc [Until_Log_Pos]
 
42
include/wait_for_slave_sql_to_stop.inc
 
43
include/check_slave_param.inc [Exec_Master_Log_Pos]
38
44
START SLAVE UNTIL MASTER_LOG_FILE='master-bin', MASTER_LOG_POS=MASTER_LOG_POS;
39
45
ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL
40
46
START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=MASTER_LOG_POS, RELAY_LOG_POS=RELAY_LOG_POS;
49
55
START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=MASTER_LOG_POS;
50
56
Warnings:
51
57
Note    1254    Slave is already running
 
58
include/stop_slave.inc
 
59
RESET SLAVE;
 
60
include/rpl_end.inc