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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

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
call mtr.add_suppression ("Slave I/O: Got fatal error 1236 from master when reading data from binary");
 
8
show master status;
 
9
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
 
10
master-bin.000001       #       <Binlog_Do_DB>  <Binlog_Ignore_DB>
 
11
include/stop_slave.inc
 
12
change master to master_log_pos=75;
 
13
SHOW SLAVE STATUS;
 
14
Slave_IO_State  #
 
15
Master_Host     127.0.0.1
 
16
Master_User     root
 
17
Master_Port     MASTER_PORT
 
18
Connect_Retry   1
 
19
Master_Log_File master-bin.000001
 
20
Read_Master_Log_Pos     #
 
21
Relay_Log_File  #
 
22
Relay_Log_Pos   #
 
23
Relay_Master_Log_File   master-bin.000001
 
24
Slave_IO_Running        No
 
25
Slave_SQL_Running       No
 
26
Replicate_Do_DB 
 
27
Replicate_Ignore_DB     
 
28
Replicate_Do_Table      
 
29
Replicate_Ignore_Table  #
 
30
Replicate_Wild_Do_Table 
 
31
Replicate_Wild_Ignore_Table     
 
32
Last_Errno      0
 
33
Last_Error      
 
34
Skip_Counter    0
 
35
Exec_Master_Log_Pos     #
 
36
Relay_Log_Space #
 
37
Until_Condition None
 
38
Until_Log_File  
 
39
Until_Log_Pos   0
 
40
Master_SSL_Allowed      No
 
41
Master_SSL_CA_File      
 
42
Master_SSL_CA_Path      
 
43
Master_SSL_Cert 
 
44
Master_SSL_Cipher       
 
45
Master_SSL_Key  
 
46
Seconds_Behind_Master   #
 
47
Master_SSL_Verify_Server_Cert   No
 
48
Last_IO_Errno   #
 
49
Last_IO_Error   #
 
50
Last_SQL_Errno  0
 
51
Last_SQL_Error  
 
52
start slave;
 
53
include/stop_slave.inc
 
54
SHOW SLAVE STATUS;
 
55
Slave_IO_State  #
 
56
Master_Host     127.0.0.1
 
57
Master_User     root
 
58
Master_Port     MASTER_PORT
 
59
Connect_Retry   1
 
60
Master_Log_File master-bin.000001
 
61
Read_Master_Log_Pos     75
 
62
Relay_Log_File  #
 
63
Relay_Log_Pos   #
 
64
Relay_Master_Log_File   master-bin.000001
 
65
Slave_IO_Running        No
 
66
Slave_SQL_Running       No
 
67
Replicate_Do_DB 
 
68
Replicate_Ignore_DB     
 
69
Replicate_Do_Table      
 
70
Replicate_Ignore_Table  #
 
71
Replicate_Wild_Do_Table 
 
72
Replicate_Wild_Ignore_Table     
 
73
Last_Errno      0
 
74
Last_Error      
 
75
Skip_Counter    0
 
76
Exec_Master_Log_Pos     75
 
77
Relay_Log_Space #
 
78
Until_Condition None
 
79
Until_Log_File  
 
80
Until_Log_Pos   0
 
81
Master_SSL_Allowed      No
 
82
Master_SSL_CA_File      
 
83
Master_SSL_CA_Path      
 
84
Master_SSL_Cert 
 
85
Master_SSL_Cipher       
 
86
Master_SSL_Key  
 
87
Seconds_Behind_Master   #
 
88
Master_SSL_Verify_Server_Cert   No
 
89
Last_IO_Errno   #
 
90
Last_IO_Error   #
 
91
Last_SQL_Errno  0
 
92
Last_SQL_Error  
 
93
show master status;
 
94
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
 
95
master-bin.000001       #       <Binlog_Do_DB>  <Binlog_Ignore_DB>
 
96
create table if not exists t1 (n int);
 
97
drop table if exists t1;
 
98
create table t1 (n int);
 
99
insert into t1 values (1),(2),(3);
 
100
change master to master_log_pos=4;
 
101
start slave;
 
102
select * from t1 ORDER BY n;
 
103
n
 
104
1
 
105
2
 
106
3
 
107
drop table t1;
 
108
End of 5.0 tests