~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_temporary_errors.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
**** On Master ****
 
8
SET SESSION BINLOG_FORMAT=ROW;
 
9
CREATE TABLE t1 (a INT PRIMARY KEY, b INT);
 
10
INSERT INTO t1 VALUES (1,1), (2,2), (3,3), (4,4);
 
11
**** On Slave ****
 
12
SHOW STATUS LIKE 'Slave_retried_transactions';
 
13
Variable_name   Value
 
14
Slave_retried_transactions      0
 
15
set @@global.slave_exec_mode= 'IDEMPOTENT';
 
16
UPDATE t1 SET a = 5, b = 47 WHERE a = 1;
 
17
SELECT * FROM t1;
 
18
a       b
 
19
5       47
 
20
2       2
 
21
3       3
 
22
4       4
 
23
**** On Master ****
 
24
UPDATE t1 SET a = 5, b = 5 WHERE a = 1;
 
25
SELECT * FROM t1;
 
26
a       b
 
27
5       5
 
28
2       2
 
29
3       3
 
30
4       4
 
31
**** On Slave ****
 
32
set @@global.slave_exec_mode= default;
 
33
SHOW STATUS LIKE 'Slave_retried_transactions';
 
34
Variable_name   Value
 
35
Slave_retried_transactions      0
 
36
SELECT * FROM t1;
 
37
a       b
 
38
5       47
 
39
2       2
 
40
3       3
 
41
4       4
 
42
SHOW SLAVE STATUS;
 
43
Slave_IO_State  #
 
44
Master_Host     127.0.0.1
 
45
Master_User     root
 
46
Master_Port     MASTER_PORT
 
47
Connect_Retry   1
 
48
Master_Log_File master-bin.000001
 
49
Read_Master_Log_Pos     #
 
50
Relay_Log_File  #
 
51
Relay_Log_Pos   #
 
52
Relay_Master_Log_File   master-bin.000001
 
53
Slave_IO_Running        Yes
 
54
Slave_SQL_Running       Yes
 
55
Replicate_Do_DB 
 
56
Replicate_Ignore_DB     
 
57
Replicate_Do_Table      
 
58
Replicate_Ignore_Table  #
 
59
Replicate_Wild_Do_Table 
 
60
Replicate_Wild_Ignore_Table     
 
61
Last_Errno      0
 
62
Last_Error      
 
63
Skip_Counter    0
 
64
Exec_Master_Log_Pos     #
 
65
Relay_Log_Space #
 
66
Until_Condition None
 
67
Until_Log_File  
 
68
Until_Log_Pos   0
 
69
Master_SSL_Allowed      No
 
70
Master_SSL_CA_File      
 
71
Master_SSL_CA_Path      
 
72
Master_SSL_Cert 
 
73
Master_SSL_Cipher       
 
74
Master_SSL_Key  
 
75
Seconds_Behind_Master   #
 
76
Master_SSL_Verify_Server_Cert   No
 
77
Last_IO_Errno   #
 
78
Last_IO_Error   #
 
79
Last_SQL_Errno  0
 
80
Last_SQL_Error  
 
81
DROP TABLE t1;
 
82
**** On Master ****
 
83
DROP TABLE t1;