Skip to content

Commit 49d2135

Browse files
author
tomas@whalegate.ndb.mysql.com
committed
Bug#17095 Cluster RBR in circle does not terminate
- set correct server id
1 parent 6e7df50 commit 49d2135

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

mysql-test/r/rpl_ndb_log.result

+10-10
Original file line numberDiff line numberDiff line change
@@ -99,33 +99,33 @@ show binlog events in 'slave-bin.000001' from 4;
9999
Log_name Pos Event_type Server_id End_log_pos Info
100100
slave-bin.000001 # Format_desc 2 # Server ver: VERSION, Binlog ver: 4
101101
slave-bin.000001 # Query 1 # use `test`; create table t1(n int not null auto_increment primary key)ENGINE=NDB
102-
slave-bin.000001 # Query 2 # BEGIN
102+
slave-bin.000001 # Query 1 # BEGIN
103103
slave-bin.000001 # Table_map 2 # table_id: # (test.t1)
104104
slave-bin.000001 # Table_map 2 # table_id: # (mysql.ndb_apply_status)
105105
slave-bin.000001 # Write_rows 2 # table_id: #
106-
slave-bin.000001 # Write_rows 2 # table_id: # flags: STMT_END_F
107-
slave-bin.000001 # Query 2 # COMMIT
106+
slave-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
107+
slave-bin.000001 # Query 1 # COMMIT
108108
slave-bin.000001 # Query 1 # use `test`; drop table t1
109109
slave-bin.000001 # Query 1 # use `test`; create table t1 (word char(20) not null)ENGINE=NDB
110-
slave-bin.000001 # Query 2 # BEGIN
110+
slave-bin.000001 # Query 1 # BEGIN
111111
slave-bin.000001 # Table_map 2 # table_id: # (test.t1)
112112
slave-bin.000001 # Table_map 2 # table_id: # (mysql.ndb_apply_status)
113113
slave-bin.000001 # Write_rows 2 # table_id: #
114-
slave-bin.000001 # Write_rows 2 # table_id: #
115-
slave-bin.000001 # Write_rows 2 # table_id: # flags: STMT_END_F
116-
slave-bin.000001 # Query 2 # COMMIT
114+
slave-bin.000001 # Write_rows 1 # table_id: #
115+
slave-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
116+
slave-bin.000001 # Query 1 # COMMIT
117117
slave-bin.000001 # Query 1 # use `test`; create table t3 (a int)ENGINE=NDB
118118
slave-bin.000001 # Rotate 2 # slave-bin.000002;pos=4
119119
show binlog events in 'slave-bin.000002' from 4;
120120
Log_name Pos Event_type Server_id End_log_pos Info
121121
slave-bin.000002 # Format_desc 2 # Server ver: VERSION, Binlog ver: 4
122122
slave-bin.000002 # Query 1 # use `test`; create table t2 (n int)ENGINE=NDB
123-
slave-bin.000002 # Query 2 # BEGIN
123+
slave-bin.000002 # Query 1 # BEGIN
124124
slave-bin.000002 # Table_map 2 # table_id: # (test.t2)
125125
slave-bin.000002 # Table_map 2 # table_id: # (mysql.ndb_apply_status)
126126
slave-bin.000002 # Write_rows 2 # table_id: #
127-
slave-bin.000002 # Write_rows 2 # table_id: # flags: STMT_END_F
128-
slave-bin.000002 # Query 2 # COMMIT
127+
slave-bin.000002 # Write_rows 1 # table_id: # flags: STMT_END_F
128+
slave-bin.000002 # Query 1 # COMMIT
129129
show slave status;
130130
Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master
131131
# 127.0.0.1 root MASTER_PORT 1 master-bin.000002 617 # # master-bin.000002 Yes Yes # 0 0 617 # None 0 No #

0 commit comments

Comments
 (0)