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

« back to all changes in this revision

Viewing changes to mysql-test/suite/manual/r/rpl_replication_delay.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
show slave status /* Second_behind reports 0 */;;
 
8
Slave_IO_State  #
 
9
Master_Host     127.0.0.1
 
10
Master_User     root
 
11
Master_Port     9306
 
12
Connect_Retry   1
 
13
Master_Log_File master-bin.000001
 
14
Read_Master_Log_Pos     106
 
15
Relay_Log_File  #
 
16
Relay_Log_Pos   #
 
17
Relay_Master_Log_File   master-bin.000001
 
18
Slave_IO_Running        Yes
 
19
Slave_SQL_Running       Yes
 
20
Replicate_Do_DB 
 
21
Replicate_Ignore_DB     
 
22
Replicate_Do_Table      
 
23
Replicate_Ignore_Table  
 
24
Replicate_Wild_Do_Table 
 
25
Replicate_Wild_Ignore_Table     
 
26
Last_Errno      0
 
27
Last_Error      
 
28
Skip_Counter    0
 
29
Exec_Master_Log_Pos     106
 
30
Relay_Log_Space #
 
31
Until_Condition None
 
32
Until_Log_File  
 
33
Until_Log_Pos   0
 
34
Master_SSL_Allowed      No
 
35
Master_SSL_CA_File      
 
36
Master_SSL_CA_Path      
 
37
Master_SSL_Cert 
 
38
Master_SSL_Cipher       
 
39
Master_SSL_Key  
 
40
Seconds_Behind_Master   0
 
41
Master_SSL_Verify_Server_Cert   No
 
42
Last_IO_Errno   0
 
43
Last_IO_Error   
 
44
Last_SQL_Errno  0
 
45
Last_SQL_Error  
 
46
drop table if exists t1;
 
47
Warnings:
 
48
Note    1051    Unknown table 't1'
 
49
create table t1 (f1 int);
 
50
flush logs /* contaminate rli->last_master_timestamp */;
 
51
lock table t1 write;
 
52
insert into t1 values (1);
 
53
show slave status /* bug emulated: reports slave threads starting time about 3*3 not 3 secs */;;
 
54
Slave_IO_State  #
 
55
Master_Host     127.0.0.1
 
56
Master_User     root
 
57
Master_Port     9306
 
58
Connect_Retry   1
 
59
Master_Log_File master-bin.000001
 
60
Read_Master_Log_Pos     367
 
61
Relay_Log_File  #
 
62
Relay_Log_Pos   #
 
63
Relay_Master_Log_File   master-bin.000001
 
64
Slave_IO_Running        Yes
 
65
Slave_SQL_Running       Yes
 
66
Replicate_Do_DB 
 
67
Replicate_Ignore_DB     
 
68
Replicate_Do_Table      
 
69
Replicate_Ignore_Table  
 
70
Replicate_Wild_Do_Table 
 
71
Replicate_Wild_Ignore_Table     
 
72
Last_Errno      0
 
73
Last_Error      
 
74
Skip_Counter    0
 
75
Exec_Master_Log_Pos     279
 
76
Relay_Log_Space #
 
77
Until_Condition None
 
78
Until_Log_File  
 
79
Until_Log_Pos   0
 
80
Master_SSL_Allowed      No
 
81
Master_SSL_CA_File      
 
82
Master_SSL_CA_Path      
 
83
Master_SSL_Cert 
 
84
Master_SSL_Cipher       
 
85
Master_SSL_Key  
 
86
Seconds_Behind_Master   9
 
87
Master_SSL_Verify_Server_Cert   No
 
88
Last_IO_Errno   0
 
89
Last_IO_Error   
 
90
Last_SQL_Errno  0
 
91
Last_SQL_Error  
 
92
unlock tables;
 
93
flush logs /* this time rli->last_master_timestamp is not affected */;
 
94
lock table t1 write;
 
95
insert into t1 values (2);
 
96
show slave status /* reports the correct diff with master query time about 3+3 secs */;;
 
97
Slave_IO_State  #
 
98
Master_Host     127.0.0.1
 
99
Master_User     root
 
100
Master_Port     9306
 
101
Connect_Retry   1
 
102
Master_Log_File master-bin.000001
 
103
Read_Master_Log_Pos     455
 
104
Relay_Log_File  #
 
105
Relay_Log_Pos   #
 
106
Relay_Master_Log_File   master-bin.000001
 
107
Slave_IO_Running        Yes
 
108
Slave_SQL_Running       Yes
 
109
Replicate_Do_DB 
 
110
Replicate_Ignore_DB     
 
111
Replicate_Do_Table      
 
112
Replicate_Ignore_Table  
 
113
Replicate_Wild_Do_Table 
 
114
Replicate_Wild_Ignore_Table     
 
115
Last_Errno      0
 
116
Last_Error      
 
117
Skip_Counter    0
 
118
Exec_Master_Log_Pos     367
 
119
Relay_Log_Space #
 
120
Until_Condition None
 
121
Until_Log_File  
 
122
Until_Log_Pos   0
 
123
Master_SSL_Allowed      No
 
124
Master_SSL_CA_File      
 
125
Master_SSL_CA_Path      
 
126
Master_SSL_Cert 
 
127
Master_SSL_Cipher       
 
128
Master_SSL_Key  
 
129
Seconds_Behind_Master   7
 
130
Master_SSL_Verify_Server_Cert   No
 
131
Last_IO_Errno   0
 
132
Last_IO_Error   
 
133
Last_SQL_Errno  0
 
134
Last_SQL_Error  
 
135
unlock tables;
 
136
drop table t1;