~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

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

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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;
 
7
stop slave;
 
8
create table t1(n int not null auto_increment primary key);
 
9
insert into t1 values (1),(2),(3),(4);
 
10
drop table t1;
 
11
create table t2(n int not null auto_increment primary key);
 
12
insert into t2 values (1),(2);
 
13
insert into t2 values (3),(4);
 
14
drop table t2;
 
15
start slave until master_log_file='master-bin.000001', master_log_pos=311;
 
16
select * from t1;
 
17
n
 
18
1
 
19
2
 
20
3
 
21
4
 
22
SHOW SLAVE STATUS;
 
23
Slave_IO_State  #
 
24
Master_Host     127.0.0.1
 
25
Master_User     root
 
26
Master_Port     MASTER_PORT
 
27
Connect_Retry   1
 
28
Master_Log_File master-bin.000001
 
29
Read_Master_Log_Pos     751
 
30
Relay_Log_File  #
 
31
Relay_Log_Pos   #
 
32
Relay_Master_Log_File   master-bin.000001
 
33
Slave_IO_Running        Yes
 
34
Slave_SQL_Running       No
 
35
Replicate_Do_DB 
 
36
Replicate_Ignore_DB     
 
37
Replicate_Do_Table      
 
38
Replicate_Ignore_Table  #
 
39
Replicate_Wild_Do_Table 
 
40
Replicate_Wild_Ignore_Table     
 
41
Last_Errno      0
 
42
Last_Error      
 
43
Skip_Counter    0
 
44
Exec_Master_Log_Pos     318
 
45
Relay_Log_Space #
 
46
Until_Condition Master
 
47
Until_Log_File  master-bin.000001
 
48
Until_Log_Pos   311
 
49
Master_SSL_Allowed      No
 
50
Master_SSL_CA_File      
 
51
Master_SSL_CA_Path      
 
52
Master_SSL_Cert 
 
53
Master_SSL_Cipher       
 
54
Master_SSL_Key  
 
55
Seconds_Behind_Master   #
 
56
Master_SSL_Verify_Server_Cert   No
 
57
Last_IO_Errno   #
 
58
Last_IO_Error   #
 
59
Last_SQL_Errno  0
 
60
Last_SQL_Error  
 
61
start slave until master_log_file='master-no-such-bin.000001', master_log_pos=291;
 
62
select * from t1;
 
63
n
 
64
1
 
65
2
 
66
3
 
67
4
 
68
SHOW SLAVE STATUS;
 
69
Slave_IO_State  #
 
70
Master_Host     127.0.0.1
 
71
Master_User     root
 
72
Master_Port     MASTER_PORT
 
73
Connect_Retry   1
 
74
Master_Log_File master-bin.000001
 
75
Read_Master_Log_Pos     751
 
76
Relay_Log_File  #
 
77
Relay_Log_Pos   #
 
78
Relay_Master_Log_File   master-bin.000001
 
79
Slave_IO_Running        Yes
 
80
Slave_SQL_Running       No
 
81
Replicate_Do_DB 
 
82
Replicate_Ignore_DB     
 
83
Replicate_Do_Table      
 
84
Replicate_Ignore_Table  #
 
85
Replicate_Wild_Do_Table 
 
86
Replicate_Wild_Ignore_Table     
 
87
Last_Errno      0
 
88
Last_Error      
 
89
Skip_Counter    0
 
90
Exec_Master_Log_Pos     318
 
91
Relay_Log_Space #
 
92
Until_Condition Master
 
93
Until_Log_File  master-no-such-bin.000001
 
94
Until_Log_Pos   291
 
95
Master_SSL_Allowed      No
 
96
Master_SSL_CA_File      
 
97
Master_SSL_CA_Path      
 
98
Master_SSL_Cert 
 
99
Master_SSL_Cipher       
 
100
Master_SSL_Key  
 
101
Seconds_Behind_Master   #
 
102
Master_SSL_Verify_Server_Cert   No
 
103
Last_IO_Errno   #
 
104
Last_IO_Error   #
 
105
Last_SQL_Errno  0
 
106
Last_SQL_Error  
 
107
start slave until relay_log_file='slave-relay-bin.000003', relay_log_pos=728;
 
108
select * from t2;
 
109
n
 
110
1
 
111
2
 
112
SHOW SLAVE STATUS;
 
113
Slave_IO_State  #
 
114
Master_Host     127.0.0.1
 
115
Master_User     root
 
116
Master_Port     MASTER_PORT
 
117
Connect_Retry   1
 
118
Master_Log_File master-bin.000001
 
119
Read_Master_Log_Pos     751
 
120
Relay_Log_File  #
 
121
Relay_Log_Pos   #
 
122
Relay_Master_Log_File   master-bin.000001
 
123
Slave_IO_Running        Yes
 
124
Slave_SQL_Running       No
 
125
Replicate_Do_DB 
 
126
Replicate_Ignore_DB     
 
127
Replicate_Do_Table      
 
128
Replicate_Ignore_Table  #
 
129
Replicate_Wild_Do_Table 
 
130
Replicate_Wild_Ignore_Table     
 
131
Last_Errno      0
 
132
Last_Error      
 
133
Skip_Counter    0
 
134
Exec_Master_Log_Pos     595
 
135
Relay_Log_Space #
 
136
Until_Condition Relay
 
137
Until_Log_File  slave-relay-bin.000003
 
138
Until_Log_Pos   1014
 
139
Master_SSL_Allowed      No
 
140
Master_SSL_CA_File      
 
141
Master_SSL_CA_Path      
 
142
Master_SSL_Cert 
 
143
Master_SSL_Cipher       
 
144
Master_SSL_Key  
 
145
Seconds_Behind_Master   #
 
146
Master_SSL_Verify_Server_Cert   No
 
147
Last_IO_Errno   #
 
148
Last_IO_Error   #
 
149
Last_SQL_Errno  0
 
150
Last_SQL_Error  
 
151
start slave;
 
152
stop slave;
 
153
start slave until master_log_file='master-bin.000001', master_log_pos=740;
 
154
SHOW SLAVE STATUS;
 
155
Slave_IO_State  #
 
156
Master_Host     127.0.0.1
 
157
Master_User     root
 
158
Master_Port     MASTER_PORT
 
159
Connect_Retry   1
 
160
Master_Log_File master-bin.000001
 
161
Read_Master_Log_Pos     751
 
162
Relay_Log_File  #
 
163
Relay_Log_Pos   #
 
164
Relay_Master_Log_File   master-bin.000001
 
165
Slave_IO_Running        Yes
 
166
Slave_SQL_Running       No
 
167
Replicate_Do_DB 
 
168
Replicate_Ignore_DB     
 
169
Replicate_Do_Table      
 
170
Replicate_Ignore_Table  #
 
171
Replicate_Wild_Do_Table 
 
172
Replicate_Wild_Ignore_Table     
 
173
Last_Errno      0
 
174
Last_Error      
 
175
Skip_Counter    0
 
176
Exec_Master_Log_Pos     751
 
177
Relay_Log_Space #
 
178
Until_Condition Master
 
179
Until_Log_File  master-bin.000001
 
180
Until_Log_Pos   740
 
181
Master_SSL_Allowed      No
 
182
Master_SSL_CA_File      
 
183
Master_SSL_CA_Path      
 
184
Master_SSL_Cert 
 
185
Master_SSL_Cipher       
 
186
Master_SSL_Key  
 
187
Seconds_Behind_Master   #
 
188
Master_SSL_Verify_Server_Cert   No
 
189
Last_IO_Errno   #
 
190
Last_IO_Error   #
 
191
Last_SQL_Errno  0
 
192
Last_SQL_Error  
 
193
start slave until master_log_file='master-bin', master_log_pos=561;
 
194
ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL
 
195
start slave until master_log_file='master-bin.000001', master_log_pos=561, relay_log_pos=12;
 
196
ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL
 
197
start slave until master_log_file='master-bin.000001';
 
198
ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL
 
199
start slave until relay_log_file='slave-relay-bin.000002';
 
200
ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL
 
201
start slave until relay_log_file='slave-relay-bin.000002', master_log_pos=561;
 
202
ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL
 
203
start slave sql_thread;
 
204
start slave until master_log_file='master-bin.000001', master_log_pos=740;
 
205
Warnings:
 
206
Note    1254    Slave is already running