Skip to content

Commit cb9d75b

Browse files
author
Neha Kumari
committed
WL#14191: Step 1: Changes obtained through the script
WL#14191:Replace old terms in replication error messages This patch was created by running the scripts written for replacing the old terminologies with new ones. The changes are done in server defined Error names and Error messages also in the hard coded messages defined in source files. RB: 27817,27755,27734,27863,27945
1 parent 20b120e commit cb9d75b

File tree

2,593 files changed

+7235
-7225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,593 files changed

+7235
-7225
lines changed

client/mysqltest.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4971,11 +4971,12 @@ static void do_wait_for_slave_to_stop(struct st_command *c [[maybe_unused]]) {
49714971
"ras.SERVICE_STATE='ON' AND rcs.SERVICE_STATE='ON'") ||
49724972
!(res = mysql_store_result_wrapper(mysql)))
49734973

4974-
die("Query failed while probing slave for stop: %s", mysql_error(mysql));
4974+
die("Query failed while probing replica for stop: %s",
4975+
mysql_error(mysql));
49754976

49764977
if (!(row = mysql_fetch_row_wrapper(res)) || !row[1]) {
49774978
mysql_free_result_wrapper(res);
4978-
die("Strange result from query while probing slave for stop");
4979+
die("Strange result from query while probing replica for stop");
49794980
}
49804981
done = !std::strcmp(row[1], "OFF");
49814982
mysql_free_result_wrapper(res);
@@ -5030,7 +5031,7 @@ static void do_sync_with_master2(struct st_command *command, long offset) {
50305031
incorrect, or an error has occurred
50315032
*/
50325033
die("%.*s failed: '%s' returned NULL "
5033-
"indicating slave SQL thread failure",
5034+
"indicating replica SQL thread failure",
50345035
static_cast<int>(command->first_word_len), command->query, query_buf);
50355036
}
50365037

libbinlogevents/src/statement_events.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ Query_event::Query_event(const char *buf, const Format_description_event *fde,
271271
}
272272

273273
if (mts_accessed_dbs == 0)
274-
READER_THROW("Invalid MTS accessed databases");
274+
READER_THROW("Invalid MTA accessed databases");
275275

276276
for (i = 0;
277277
i < mts_accessed_dbs && READER_CALL(position) < end_variable_part;
@@ -292,7 +292,7 @@ Query_event::Query_event(const char *buf, const Format_description_event *fde,
292292
}
293293
#endif
294294
if (READER_CALL(position) >= end_variable_part)
295-
READER_THROW("Error reading MTS accessed databases");
295+
READER_THROW("Error reading MTA accessed databases");
296296

297297
remaining = end_variable_part - READER_CALL(position);
298298
READER_TRY_CALL(strncpyz, mts_accessed_db_names[i],

libmysql/errmsg.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ const char *client_errors[] = {
5555
"Can't initialize character set %-.32s (path: %-.100s)",
5656
"Got packet bigger than 'max_allowed_packet' bytes",
5757
"Embedded server",
58-
"Error on SHOW SLAVE STATUS:",
59-
"Error on SHOW SLAVE HOSTS:",
60-
"Error connecting to slave:",
61-
"Error connecting to master:",
58+
"Error on SHOW REPLICA STATUS:",
59+
"Error on SHOW REPLICA HOSTS:",
60+
"Error connecting to replica:",
61+
"Error connecting to source:",
6262
"SSL connection error: %-.100s",
6363
"Malformed packet",
6464
"This client library is licensed only for use with MySQL servers having "

mysql-test/extra/binlog_tests/binlog.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ SHOW SESSION VARIABLES LIKE "%_checks";
399399
--echo # INSERT INTO t1 VALUES(2)
400400
--echo # foreign_key_checks=1 and unique_checks=1
401401
--echo # It should not change current session's variables, even error happens
402-
call mtr.add_suppression("Slave SQL.*Could not execute Write_rows_v1 event on table test.t1; Duplicate entry .2. for key .t1.PRIMARY., Error_code: 1062");
402+
call mtr.add_suppression("Replica SQL.*Could not execute Write_rows_v1 event on table test.t1; Duplicate entry .2. for key .t1.PRIMARY., Error_code: 1062");
403403
--error 1062
404404
BINLOG '
405405
dfLtTBMBAAAAKQAAAKsBAAAAABcAAAAAAAEABHRlc3QAAnQxAAEDAAE=

mysql-test/extra/rpl_tests/mts_spco_generate_deadlock_setup.inc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ if ($mts_spco_gd_innodb_wait_timeout == '')
1111
--source include/stop_slave_sql.inc
1212

1313
set session sql_log_bin=0;
14-
CALL mtr.add_suppression(".*Worker.*failed executing transaction.*at master log .*, end_log_pos.*Deadlock found when trying to get lock.*");
15-
CALL mtr.add_suppression(".*Worker.*failed executing transaction.*at master log .*, end_log_pos.*Can not lock user management caches for processing.*");
16-
CALL mtr.add_suppression(".*Worker.*failed executing transaction.*at master log .*, end_log_pos.*Replica worker has stopped after at least one previous worker.*");
14+
CALL mtr.add_suppression(".*Worker.*failed executing transaction.*at source log .*, end_log_pos.*Deadlock found when trying to get lock.*");
15+
CALL mtr.add_suppression(".*Worker.*failed executing transaction.*at source log .*, end_log_pos.*Can not lock user management caches for processing.*");
16+
CALL mtr.add_suppression(".*Worker.*failed executing transaction.*at source log .*, end_log_pos.*Replica worker has stopped after at least one previous worker.*");
1717
CALL mtr.add_suppression(".*worker thread retried transaction.*time.*in vain, giving up.*");
18-
CALL mtr.add_suppression(".*The slave coordinator and worker threads are stopped.*");
19-
CALL mtr.add_suppression(".*Slave worker has stopped after at least one previous worker encountered an error when replica-preserve-commit-order was enabled.*");
18+
CALL mtr.add_suppression(".*The replica coordinator and worker threads are stopped.*");
19+
CALL mtr.add_suppression(".*Replica worker has stopped after at least one previous worker encountered an error when replica-preserve-commit-order was enabled.*");
2020
set session sql_log_bin=1;
2121

2222
--let $saved_replica_parallel_type = `SELECT @@GLOBAL.replica_parallel_type`

mysql-test/extra/rpl_tests/rpl_binlog_max_cache_size.test

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
--source include/have_myisam.inc
3030
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
3131
call mtr.add_suppression("Option binlog_cache_size ");
32-
call mtr.add_suppression("Slave SQL for channel '': The incident LOST_EVENTS occurred on the master.");
32+
call mtr.add_suppression("Replica SQL for channel '': The incident LOST_EVENTS occurred on the source.");
3333
call mtr.add_suppression("The content of the statement cache is corrupted "
3434
"while writing a rollback record of the transaction "
3535
"to the binary log. An incident event has been "
@@ -79,7 +79,7 @@ eval INSERT INTO t2 (a, data) VALUES (2,
7979
--enable_query_log
8080

8181
# Incident event
82-
# 13119=ER_SLAVE_INCIDENT
82+
# 13119=ER_REPLICA_INCIDENT
8383
--let $slave_sql_errno= 13119
8484
--source include/wait_for_slave_sql_error_and_skip.inc
8585

@@ -99,7 +99,7 @@ eval UPDATE t2, t1 SET t2.data = CONCAT($data, $data, $data, $data),
9999
t1.data = CONCAT($data, $data, $data, $data);
100100
--enable_query_log
101101

102-
# 13119=ER_SLAVE_INCIDENT
102+
# 13119=ER_REPLICA_INCIDENT
103103
--let $slave_sql_errno= 13119
104104
--let $slave_skip_counter= `SELECT IF(@@binlog_format = 'ROW', 2, 1)`
105105
--source include/wait_for_slave_sql_error_and_skip.inc
@@ -432,8 +432,8 @@ source include/start_slave.inc;
432432
CALL mtr.add_suppression("Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage.*");
433433
CALL mtr.add_suppression("Multi-statement transaction required more than 'max_binlog_stmt_cache_size' bytes of storage.*");
434434
CALL mtr.add_suppression("Writing one row to the row-based binary log failed.*");
435-
CALL mtr.add_suppression("Slave SQL.*The incident LOST_EVENTS occurred on the master. Message: error writing to the binary log");
436-
call mtr.add_suppression("The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
435+
CALL mtr.add_suppression("Replica SQL.*The incident LOST_EVENTS occurred on the source. Message: error writing to the binary log");
436+
call mtr.add_suppression("The replica coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
437437

438438
connection master;
439439
TRUNCATE t1;

mysql-test/extra/rpl_tests/rpl_change_master.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# thread) restart from where SQL thread left, not from where
33
# I/O thread left (some old bug fixed in 4.0.17)
44

5-
call mtr.add_suppression("Slave I/O: The slave I/O thread stops because a fatal error is encountered when it tried to SET @master_binlog_checksum");
5+
call mtr.add_suppression("Replica I/O: The replica I/O thread stops because a fatal error is encountered when it tried to SET @master_binlog_checksum");
66

77
--connection default
88
let $check_ipv6_just_check=1;

mysql-test/extra/rpl_tests/rpl_conflicts.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ if (`SELECT @@global.binlog_format != 'ROW' OR @@global.replica_exec_mode = 'STR
9494
--let $errno= query_get_value("SHOW SLAVE STATUS", Last_SQL_Errno, 1)
9595
--eval SELECT "$errno" as 'Last_SQL_Errno'
9696

97-
call mtr.add_suppression("Slave SQL.*Duplicate entry .1. for key .t1.PRIMARY.* Error_code: MY-001062");
98-
call mtr.add_suppression("The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
97+
call mtr.add_suppression("Replica SQL.*Duplicate entry .1. for key .t1.PRIMARY.* Error_code: MY-001062");
98+
call mtr.add_suppression("The replica coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
9999

100100
SELECT * FROM t1;
101101

@@ -140,7 +140,7 @@ connection slave;
140140
# replication continues.
141141
if (`SELECT @@global.binlog_format = 'ROW' AND @@global.replica_exec_mode = 'STRICT'`) {
142142
--echo ---- Wait until slave stops with an error ----
143-
call mtr.add_suppression("Slave SQL.*Can.t find record in .t1., Error_code: 1032");
143+
call mtr.add_suppression("Replica SQL.*Can.t find record in .t1., Error_code: 1032");
144144

145145
let $slave_sql_errno= convert_error(ER_KEY_NOT_FOUND);
146146
source include/wait_for_slave_sql_error.inc;

mysql-test/extra/rpl_tests/rpl_deadlock.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,6 @@ DROP TABLE t1,t2,t3;
205205
sync_slave_with_master;
206206
SET global max_relay_log_size= @my_max_relay_log_size;
207207
CALL mtr.add_suppression(".*worker thread retried transaction.*");
208-
CALL mtr.add_suppression(".*The slave coordinator and worker threads are stopped.*");
208+
CALL mtr.add_suppression(".*The replica coordinator and worker threads are stopped.*");
209209
--echo End of 5.1 tests
210210
--source include/rpl_end.inc

mysql-test/extra/rpl_tests/rpl_extra_col_master.test

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@ SELECT f1,f2,f3,f4,f5,f6,f7,f8,f9,
125125
#connection slave;
126126

127127
--disable_query_log
128-
call mtr.add_suppression("Slave SQL.*Table definition on master and slave does not match: Column 2 type mismatch.* MY-001535");
129-
call mtr.add_suppression("Slave.*Can.t DROP .c7.; check that column.key exists.* Error_code: MY-001091");
130-
call mtr.add_suppression("Slave.*Unknown column .c7. in .t15.* Error_code: MY-001054");
131-
call mtr.add_suppression("Slave.*Key column .c6. doesn.t exist in table.* Error_code: MY-001072");
132-
call mtr.add_suppression("Slave SQL.*Column 2 of table .test.t1.. cannot be converted from type.* Error_code: MY-013146");
133-
call mtr.add_suppression("The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
128+
call mtr.add_suppression("Replica SQL.*Table definition on source and replica does not match: Column 2 type mismatch.* MY-001535");
129+
call mtr.add_suppression("Replica.*Can.t DROP .c7.; check that column.key exists.* Error_code: MY-001091");
130+
call mtr.add_suppression("Replica.*Unknown column .c7. in .t15.* Error_code: MY-001054");
131+
call mtr.add_suppression("Replica.*Key column .c6. doesn.t exist in table.* Error_code: MY-001072");
132+
call mtr.add_suppression("Replica SQL.*Column 2 of table .test.t1.. cannot be converted from type.* Error_code: MY-013146");
133+
call mtr.add_suppression("The replica coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
134134
--enable_query_log
135135

136136
sync_slave_with_master;
@@ -487,7 +487,7 @@ INSERT INTO t10 () VALUES(1,@b1,DEFAULT,'Kyle',DEFAULT),
487487
--echo
488488
connection slave;
489489
--let $slave_skip_counter= 2
490-
--let $slave_sql_errno= convert_error(ER_SERVER_SLAVE_CONVERSION_FAILED)
490+
--let $slave_sql_errno= convert_error(ER_SERVER_REPLICA_CONVERSION_FAILED)
491491
--source include/wait_for_slave_sql_error_and_skip.inc
492492

493493
--echo
@@ -541,7 +541,7 @@ INSERT INTO t11 () VALUES(1,@b1,'Testing is fun','Kyle',DEFAULT),
541541
--echo
542542
connection slave;
543543
--let $slave_skip_counter= 2
544-
--let $slave_sql_errno= convert_error(ER_SERVER_SLAVE_CONVERSION_FAILED)
544+
--let $slave_sql_errno= convert_error(ER_SERVER_REPLICA_CONVERSION_FAILED)
545545
--source include/wait_for_slave_sql_error_and_skip.inc
546546

547547
--echo

mysql-test/extra/rpl_tests/rpl_extra_col_slave.test

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
# should stop the slave. #
1313
#################################################
1414

15-
call mtr.add_suppression("Slave: Unknown table 'test.t6' Error_code: 1051");
16-
call mtr.add_suppression("Slave SQL.*Column [0-9] of table .test.t[0-9]*. cannot be converted from type.* Error_code: MY-013146");
17-
call mtr.add_suppression("The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
15+
call mtr.add_suppression("Replica: Unknown table 'test.t6' Error_code: 1051");
16+
call mtr.add_suppression("Replica SQL.*Column [0-9] of table .test.t[0-9]*. cannot be converted from type.* Error_code: MY-013146");
17+
call mtr.add_suppression("The replica coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
1818

1919
--echo **** Diff Table Def Start ****
2020

@@ -93,7 +93,7 @@ INSERT INTO t2 () VALUES(1,2,'Kyle, TEX'),(2,1,'JOE AUSTIN'),(3,4,'QA TESTING');
9393
SELECT * FROM t2 ORDER BY a;
9494

9595
connection slave;
96-
--let $slave_sql_errno= convert_error(ER_SERVER_SLAVE_CONVERSION_FAILED)
96+
--let $slave_sql_errno= convert_error(ER_SERVER_REPLICA_CONVERSION_FAILED)
9797
--source include/wait_for_slave_sql_error.inc
9898
STOP SLAVE;
9999

@@ -139,11 +139,11 @@ set @b1 = concat(@b1,@b1);
139139
INSERT INTO t3 () VALUES(@b1,2,'Kyle, TEX'),(@b1,1,'JOE AUSTIN'),(@b1,4,'QA TESTING');
140140

141141
--echo ******************************************************************
142-
--echo *** Expect slave to fail with Error ER_SLAVE_CONVERSION_FAILED ***
142+
--echo *** Expect slave to fail with Error ER_REPLICA_CONVERSION_FAILED ***
143143
--echo ******************************************************************
144144
connection slave;
145145
--let $slave_skip_counter= 2
146-
--let $slave_sql_errno= convert_error(ER_SERVER_SLAVE_CONVERSION_FAILED)
146+
--let $slave_sql_errno= convert_error(ER_SERVER_REPLICA_CONVERSION_FAILED)
147147
--source include/wait_for_slave_sql_error_and_skip.inc
148148

149149
--echo *** Drop t3 ***
@@ -181,11 +181,11 @@ INSERT INTO t4 () VALUES(100.22,2,'Kyle, TEX'),(200.26,1,'JOE AUSTIN'),
181181
(30000.22,4,'QA TESTING');
182182

183183
--echo ******************************************************************
184-
--echo *** Expect slave to fail with Error ER_SLAVE_CONVERSION_FAILED ***
184+
--echo *** Expect slave to fail with Error ER_REPLICA_CONVERSION_FAILED ***
185185
--echo ******************************************************************
186186
connection slave;
187187
--let $slave_skip_counter= 2
188-
--let $slave_sql_errno= convert_error(ER_SERVER_SLAVE_CONVERSION_FAILED)
188+
--let $slave_sql_errno= convert_error(ER_SERVER_REPLICA_CONVERSION_FAILED)
189189
--source include/wait_for_slave_sql_error_and_skip.inc
190190

191191

@@ -224,11 +224,11 @@ INSERT INTO t5 () VALUES(1,'Kyle',200.23,1,'b1b1',23.00098),
224224
(2,'JOE',300.01,0,'b2b2',1.0000009);
225225

226226
--echo ******************************************************************
227-
--echo *** Expect slave to fail with Error ER_SLAVE_CONVERSION_FAILED ***
227+
--echo *** Expect slave to fail with Error ER_REPLICA_CONVERSION_FAILED ***
228228
--echo ******************************************************************
229229
connection slave;
230230
--let $slave_skip_counter= 2
231-
--let $slave_sql_errno= convert_error(ER_SERVER_SLAVE_CONVERSION_FAILED)
231+
--let $slave_sql_errno= convert_error(ER_SERVER_REPLICA_CONVERSION_FAILED)
232232
--source include/wait_for_slave_sql_error_and_skip.inc
233233

234234

@@ -268,10 +268,10 @@ INSERT INTO t6 () VALUES(1,'Kyle',200.23,1),
268268
(2,'JOE',300.01,0);
269269

270270
--echo ******************************************************************
271-
--echo *** Expect slave to fail with Error ER_SLAVE_CONVERSION_FAILED ***
271+
--echo *** Expect slave to fail with Error ER_REPLICA_CONVERSION_FAILED ***
272272
--echo ******************************************************************
273273
connection slave;
274-
--let $slave_sql_errno= convert_error(ER_SERVER_SLAVE_CONVERSION_FAILED)
274+
--let $slave_sql_errno= convert_error(ER_SERVER_REPLICA_CONVERSION_FAILED)
275275
--source include/wait_for_slave_sql_error_and_skip.inc
276276

277277

@@ -493,11 +493,11 @@ set @b1 = concat(@b1,@b1);
493493
INSERT INTO t10 () VALUES(1,@b1,'Kyle'),(2,@b1,'JOE'),(3,@b1,'QA');
494494

495495
--echo ******************************************************************
496-
--echo *** Expect slave to fail with Error ER_SLAVE_CONVERSION_FAILED ***
496+
--echo *** Expect slave to fail with Error ER_REPLICA_CONVERSION_FAILED ***
497497
--echo ******************************************************************
498498
connection slave;
499499
--let $slave_skip_counter= 2
500-
--let $slave_sql_errno= convert_error(ER_SERVER_SLAVE_CONVERSION_FAILED)
500+
--let $slave_sql_errno= convert_error(ER_SERVER_REPLICA_CONVERSION_FAILED)
501501
--source include/wait_for_slave_sql_error_and_skip.inc
502502

503503

@@ -535,11 +535,11 @@ set @b1 = concat(@b1,@b1);
535535
INSERT INTO t11 () VALUES(1,@b1,'Kyle'),(2,@b1,'JOE'),(3,@b1,'QA');
536536

537537
--echo ******************************************************************
538-
--echo *** Expect slave to fail with Error ER_SLAVE_CONVERSION_FAILED ***
538+
--echo *** Expect slave to fail with Error ER_REPLICA_CONVERSION_FAILED ***
539539
--echo ******************************************************************
540540
connection slave;
541541
--let $slave_skip_counter= 2
542-
--let $slave_sql_errno= convert_error(ER_SERVER_SLAVE_CONVERSION_FAILED)
542+
--let $slave_sql_errno= convert_error(ER_SERVER_REPLICA_CONVERSION_FAILED)
543543
--source include/wait_for_slave_sql_error_and_skip.inc
544544

545545

@@ -791,7 +791,7 @@ connection slave;
791791

792792
call mtr.add_suppression("Error .Unknown table .t6.. on query.* Error_code: 1051");
793793
call mtr.add_suppression("Error .Duplicate column name .c6.. on query.* Error_code: MY-001060");
794-
call mtr.add_suppression("Table definition on master and slave does not match: Column . ...e mismatch.* Error_code: 1535");
794+
call mtr.add_suppression("Table definition on source and replica does not match: Column . ...e mismatch.* Error_code: 1535");
795795

796796
--echo *** Master Data Insert ***
797797
connection master;
@@ -925,11 +925,11 @@ connection master;
925925
INSERT INTO t17 () VALUES(9223372036854775807,2,'Kyle, TEX');
926926

927927
--echo ******************************************************************
928-
--echo *** Expect slave to fail with Error ER_SLAVE_CONVERSION_FAILED ***
928+
--echo *** Expect slave to fail with Error ER_REPLICA_CONVERSION_FAILED ***
929929
--echo ******************************************************************
930930
connection slave;
931931
--let $slave_skip_counter= 2
932-
--let $slave_sql_errno= convert_error(ER_SERVER_SLAVE_CONVERSION_FAILED)
932+
--let $slave_sql_errno= convert_error(ER_SERVER_REPLICA_CONVERSION_FAILED)
933933
--source include/wait_for_slave_sql_error_and_skip.inc
934934

935935
--echo ** DROP table t17 ***

mysql-test/extra/rpl_tests/rpl_gtid_mixed_rows_and_stmts_tx_isolation_error.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ if ($use_xa)
7878
--source include/sync_slave_io_with_master.inc
7979

8080
# Wait until the slave reports the error
81-
--let $slave_sql_errno= convert_error(ER_SLAVE_FATAL_ERROR)
81+
--let $slave_sql_errno= convert_error(ER_REPLICA_FATAL_ERROR)
8282
--source include/wait_for_slave_sql_error.inc
8383

8484
--source include/remove_debug_point.inc

mysql-test/extra/rpl_tests/rpl_gtid_xa_cmd_do_db_filter.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ if ($rpl_use_before_xa_cmd == '') {
8383
--source include/master-slave.inc
8484

8585
SET SESSION sql_log_bin = 0;
86-
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it is being used inside a XA transaction. Concurrent XA transactions may deadlock on slaves when replicated using statements*");
86+
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it is being used inside a XA transaction. Concurrent XA transactions may deadlock on replicas when replicated using statements*");
8787
SET SESSION sql_log_bin = 1;
8888

8989
--echo # 1. Setup scenario:
@@ -96,7 +96,7 @@ CREATE TABLE dodb.t (a INT);
9696
--source include/sync_slave_sql_with_master.inc
9797

9898
SET SESSION sql_log_bin = 0;
99-
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it is being used inside a XA transaction. Concurrent XA transactions may deadlock on slaves when replicated using statements*");
99+
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it is being used inside a XA transaction. Concurrent XA transactions may deadlock on replicas when replicated using statements*");
100100
SET SESSION sql_log_bin = 1;
101101

102102

0 commit comments

Comments
 (0)