Skip to content

Commit 2350066

Browse files
committed
Merge 10.1 into 10.2
2 parents 40e65e8 + 7df07c7 commit 2350066

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

mysql-test/extra/rpl_tests/rpl_corruption.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ SET GLOBAL master_verify_checksum=0;
122122
SET GLOBAL debug_dbug="+d,corrupt_read_log_event2_set";
123123
--connection slave
124124
START SLAVE IO_THREAD;
125-
# When the checksum error is detected, the slave sets error code 1913
125+
# When the checksum error is detected, the slave sets error code 1743
126126
# (ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE) in queue_event(), then immediately
127127
# sets error 1595 (ER_SLAVE_RELAY_LOG_WRITE_FAILURE) in handle_slave_io().
128-
# So we usually get 1595, but it is occasionally possible to get 1913.
129-
let $slave_io_errno= 1595,1913;
128+
# So we usually get 1595, but it is occasionally possible to get 1743.
129+
let $slave_io_errno= 1595,1743; # ER_SLAVE_RELAY_LOG_WRITE_FAILURE, ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE
130130
--source include/wait_for_slave_io_error.inc
131131
--connection master
132132
SET GLOBAL debug_dbug="-d,corrupt_read_log_event2_set";
@@ -138,7 +138,7 @@ SET GLOBAL master_verify_checksum=1;
138138
--connection slave
139139
SET GLOBAL debug_dbug="+d,corrupt_queue_event";
140140
START SLAVE IO_THREAD;
141-
let $slave_io_errno= 1595,1913;
141+
let $slave_io_errno= 1595,1743; # ER_SLAVE_RELAY_LOG_WRITE_FAILURE, ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE
142142
--source include/wait_for_slave_io_error.inc
143143
SET GLOBAL debug_dbug="-d,corrupt_queue_event";
144144

mysql-test/suite/binlog_encryption/rpl_corruption.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ SET GLOBAL master_verify_checksum=0;
3030
SET GLOBAL debug_dbug="+d,corrupt_read_log_event2_set";
3131
connection slave;
3232
START SLAVE IO_THREAD;
33-
include/wait_for_slave_io_error.inc [errno=1595,1913]
33+
include/wait_for_slave_io_error.inc [errno=1595,1743]
3434
connection master;
3535
SET GLOBAL debug_dbug="-d,corrupt_read_log_event2_set";
3636
SET GLOBAL debug_dbug= "";
@@ -39,7 +39,7 @@ SET GLOBAL master_verify_checksum=1;
3939
connection slave;
4040
SET GLOBAL debug_dbug="+d,corrupt_queue_event";
4141
START SLAVE IO_THREAD;
42-
include/wait_for_slave_io_error.inc [errno=1595,1913]
42+
include/wait_for_slave_io_error.inc [errno=1595,1743]
4343
SET GLOBAL debug_dbug="-d,corrupt_queue_event";
4444
# 6. Slave. Corruption in relay log
4545
SET GLOBAL debug_dbug="+d,corrupt_read_log_event_char";

mysql-test/suite/rpl/r/rpl_corruption.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ SET GLOBAL master_verify_checksum=0;
3030
SET GLOBAL debug_dbug="+d,corrupt_read_log_event2_set";
3131
connection slave;
3232
START SLAVE IO_THREAD;
33-
include/wait_for_slave_io_error.inc [errno=1595,1913]
33+
include/wait_for_slave_io_error.inc [errno=1595,1743]
3434
connection master;
3535
SET GLOBAL debug_dbug="-d,corrupt_read_log_event2_set";
3636
SET GLOBAL debug_dbug= "";
@@ -39,7 +39,7 @@ SET GLOBAL master_verify_checksum=1;
3939
connection slave;
4040
SET GLOBAL debug_dbug="+d,corrupt_queue_event";
4141
START SLAVE IO_THREAD;
42-
include/wait_for_slave_io_error.inc [errno=1595,1913]
42+
include/wait_for_slave_io_error.inc [errno=1595,1743]
4343
SET GLOBAL debug_dbug="-d,corrupt_queue_event";
4444
# 6. Slave. Corruption in relay log
4545
SET GLOBAL debug_dbug="+d,corrupt_read_log_event_char";

0 commit comments

Comments
 (0)