~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_rbr_to_sbr.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
SET BINLOG_FORMAT=MIXED;
 
8
SET GLOBAL BINLOG_FORMAT=MIXED;
 
9
SELECT @@GLOBAL.BINLOG_FORMAT, @@SESSION.BINLOG_FORMAT;
 
10
@@GLOBAL.BINLOG_FORMAT  @@SESSION.BINLOG_FORMAT
 
11
MIXED   MIXED
 
12
**** On Master ****
 
13
CREATE TABLE t1 (a INT, b LONG);
 
14
INSERT INTO t1 VALUES (1,1), (2,2);
 
15
INSERT INTO t1 VALUES (3,UUID()), (4,UUID());
 
16
SHOW BINLOG EVENTS;
 
17
Log_name        Pos     Event_type      Server_id       End_log_pos     Info
 
18
master-bin.000001       #       Format_desc     1       #       Server ver: VERSION, Binlog ver: 4
 
19
master-bin.000001       #       Query   1       #       use `test`; CREATE TABLE t1 (a INT, b LONG)
 
20
master-bin.000001       #       Query   1       #       use `test`; INSERT INTO t1 VALUES (1,1), (2,2)
 
21
master-bin.000001       #       Query   1       #       use `test`; BEGIN
 
22
master-bin.000001       #       Table_map       1       #       table_id: # (test.t1)
 
23
master-bin.000001       #       Write_rows      1       #       table_id: # flags: STMT_END_F
 
24
master-bin.000001       #       Query   1       #       use `test`; COMMIT
 
25
**** On Slave ****
 
26
SHOW SLAVE STATUS;
 
27
Slave_IO_State  #
 
28
Master_Host     127.0.0.1
 
29
Master_User     root
 
30
Master_Port     MASTER_PORT
 
31
Connect_Retry   1
 
32
Master_Log_File master-bin.000001
 
33
Read_Master_Log_Pos     595
 
34
Relay_Log_File  #
 
35
Relay_Log_Pos   #
 
36
Relay_Master_Log_File   master-bin.000001
 
37
Slave_IO_Running        Yes
 
38
Slave_SQL_Running       Yes
 
39
Replicate_Do_DB 
 
40
Replicate_Ignore_DB     
 
41
Replicate_Do_Table      
 
42
Replicate_Ignore_Table  
 
43
Replicate_Wild_Do_Table 
 
44
Replicate_Wild_Ignore_Table     
 
45
Last_Errno      0
 
46
Last_Error      
 
47
Skip_Counter    0
 
48
Exec_Master_Log_Pos     595
 
49
Relay_Log_Space #
 
50
Until_Condition None
 
51
Until_Log_File  
 
52
Until_Log_Pos   0
 
53
Master_SSL_Allowed      No
 
54
Master_SSL_CA_File      
 
55
Master_SSL_CA_Path      
 
56
Master_SSL_Cert 
 
57
Master_SSL_Cipher       
 
58
Master_SSL_Key  
 
59
Seconds_Behind_Master   #
 
60
Master_SSL_Verify_Server_Cert   #
 
61
Last_IO_Errno   #
 
62
Last_IO_Error   
 
63
Last_SQL_Errno  0
 
64
Last_SQL_Error  
 
65
SHOW BINLOG EVENTS;
 
66
Log_name        Pos     Event_type      Server_id       End_log_pos     Info
 
67
slave-bin.000001        #       Format_desc     2       #       Server ver: VERSION, Binlog ver: 4
 
68
slave-bin.000001        #       Query   2       #       use `test`; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9
 
69
slave-bin.000001        #       Query   1       #       use `test`; CREATE TABLE t1 (a INT, b LONG)
 
70
slave-bin.000001        #       Query   1       #       use `test`; INSERT INTO t1 VALUES (1,1), (2,2)
 
71
slave-bin.000001        #       Query   1       #       use `test`; BEGIN
 
72
slave-bin.000001        #       Table_map       1       #       table_id: # (test.t1)
 
73
slave-bin.000001        #       Write_rows      1       #       table_id: # flags: STMT_END_F
 
74
slave-bin.000001        #       Query   1       #       use `test`; COMMIT
 
75
DROP TABLE IF EXISTS t1;