~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_log_pos.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
show master status;
 
8
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
 
9
master-bin.000001       #       <Binlog_Do_DB>  <Binlog_Ignore_DB>
 
10
stop slave;
 
11
change master to master_log_pos=75;
 
12
SHOW SLAVE STATUS;
 
13
Slave_IO_State  #
 
14
Master_Host     127.0.0.1
 
15
Master_User     root
 
16
Master_Port     MASTER_PORT
 
17
Connect_Retry   1
 
18
Master_Log_File master-bin.000001
 
19
Read_Master_Log_Pos     #
 
20
Relay_Log_File  #
 
21
Relay_Log_Pos   #
 
22
Relay_Master_Log_File   master-bin.000001
 
23
Slave_IO_Running        No
 
24
Slave_SQL_Running       No
 
25
Replicate_Do_DB 
 
26
Replicate_Ignore_DB     
 
27
Replicate_Do_Table      
 
28
Replicate_Ignore_Table  #
 
29
Replicate_Wild_Do_Table 
 
30
Replicate_Wild_Ignore_Table     
 
31
Last_Errno      0
 
32
Last_Error      
 
33
Skip_Counter    0
 
34
Exec_Master_Log_Pos     #
 
35
Relay_Log_Space #
 
36
Until_Condition None
 
37
Until_Log_File  
 
38
Until_Log_Pos   0
 
39
Master_SSL_Allowed      No
 
40
Master_SSL_CA_File      
 
41
Master_SSL_CA_Path      
 
42
Master_SSL_Cert 
 
43
Master_SSL_Cipher       
 
44
Master_SSL_Key  
 
45
Seconds_Behind_Master   #
 
46
Master_SSL_Verify_Server_Cert   No
 
47
Last_IO_Errno   #
 
48
Last_IO_Error   #
 
49
Last_SQL_Errno  0
 
50
Last_SQL_Error  
 
51
start slave;
 
52
stop slave;
 
53
SHOW SLAVE STATUS;
 
54
Slave_IO_State  #
 
55
Master_Host     127.0.0.1
 
56
Master_User     root
 
57
Master_Port     MASTER_PORT
 
58
Connect_Retry   1
 
59
Master_Log_File master-bin.000001
 
60
Read_Master_Log_Pos     75
 
61
Relay_Log_File  #
 
62
Relay_Log_Pos   #
 
63
Relay_Master_Log_File   master-bin.000001
 
64
Slave_IO_Running        No
 
65
Slave_SQL_Running       No
 
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     75
 
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   #
 
87
Master_SSL_Verify_Server_Cert   No
 
88
Last_IO_Errno   #
 
89
Last_IO_Error   #
 
90
Last_SQL_Errno  0
 
91
Last_SQL_Error  
 
92
show master status;
 
93
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
 
94
master-bin.000001       #       <Binlog_Do_DB>  <Binlog_Ignore_DB>
 
95
create table if not exists t1 (n int);
 
96
drop table if exists t1;
 
97
create table t1 (n int);
 
98
insert into t1 values (1),(2),(3);
 
99
change master to master_log_pos=4;
 
100
start slave;
 
101
select * from t1 ORDER BY n;
 
102
n
 
103
1
 
104
2
 
105
3
 
106
drop table t1;
 
107
End of 5.0 tests