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

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_change_master.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
create table t1(n int);
 
8
select * from t1;
 
9
n
 
10
stop slave sql_thread;
 
11
insert into t1 values(1);
 
12
insert into t1 values(2);
 
13
stop slave;
 
14
SHOW SLAVE STATUS;
 
15
Slave_IO_State  #
 
16
Master_Host     127.0.0.1
 
17
Master_User     root
 
18
Master_Port     MASTER_PORT
 
19
Connect_Retry   1
 
20
Master_Log_File master-bin.000001
 
21
Read_Master_Log_Pos     #
 
22
Relay_Log_File  #
 
23
Relay_Log_Pos   #
 
24
Relay_Master_Log_File   master-bin.000001
 
25
Slave_IO_Running        No
 
26
Slave_SQL_Running       No
 
27
Replicate_Do_DB 
 
28
Replicate_Ignore_DB     
 
29
Replicate_Do_Table      
 
30
Replicate_Ignore_Table  #
 
31
Replicate_Wild_Do_Table 
 
32
Replicate_Wild_Ignore_Table     
 
33
Last_Errno      0
 
34
Last_Error      
 
35
Skip_Counter    0
 
36
Exec_Master_Log_Pos     #
 
37
Relay_Log_Space #
 
38
Until_Condition None
 
39
Until_Log_File  
 
40
Until_Log_Pos   0
 
41
Master_SSL_Allowed      No
 
42
Master_SSL_CA_File      
 
43
Master_SSL_CA_Path      
 
44
Master_SSL_Cert 
 
45
Master_SSL_Cipher       
 
46
Master_SSL_Key  
 
47
Seconds_Behind_Master   #
 
48
Master_SSL_Verify_Server_Cert   No
 
49
Last_IO_Errno   #
 
50
Last_IO_Error   #
 
51
Last_SQL_Errno  0
 
52
Last_SQL_Error  
 
53
change master to master_user='root';
 
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     #
 
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     #
 
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
start slave;
 
94
select * from t1;
 
95
n
 
96
1
 
97
2
 
98
drop table t1;