mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
BUG#39853: lowercase_table3 fails on powermacg5 in rpl tree
Problem: during a refactoring of mtr, a pattern for suppressing a warning from lowercase_table3 was lost. Fix: re-introduce the suppression. Problem 2: suppression was misspelt as supression. Fixed by adding a p. mysql-test/include/mtr_warnings.sql: fixed spelling error mysql-test/suite/rpl/t/rpl_bug33931.test: fixed spelling error mysql-test/suite/rpl/t/rpl_idempotency.test: fixed spelling error mysql-test/suite/rpl/t/rpl_temporary.test: fixed spelling error mysql-test/suite/rpl/t/rpl_temporary_errors.test: fixed spelling error mysql-test/t/lowercase_table3.test: fixed spelling error
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
reset master;
|
||||
call mtr.add_supression("Failed during slave.*thread initialization");
|
||||
call mtr.add_suppression("Failed during slave.*thread initialization");
|
||||
stop slave;
|
||||
reset slave;
|
||||
SET GLOBAL debug="d,simulate_io_slave_error_on_init,simulate_sql_slave_error_on_init";
|
||||
|
@@ -4,8 +4,8 @@ reset master;
|
||||
reset slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
start slave;
|
||||
call mtr.add_supression("Slave: Can\'t find record in \'t1\' Error_code: 1032");
|
||||
call mtr.add_supression("Slave: Cannot add or update a child row: a foreign key constraint fails .* Error_code: 1452");
|
||||
call mtr.add_suppression("Slave: Can\'t find record in \'t1\' Error_code: 1032");
|
||||
call mtr.add_suppression("Slave: Cannot add or update a child row: a foreign key constraint fails .* Error_code: 1452");
|
||||
CREATE TABLE t1 (a INT PRIMARY KEY);
|
||||
CREATE TABLE t2 (a INT);
|
||||
INSERT INTO t1 VALUES (-1),(-2),(-3);
|
||||
|
@@ -4,7 +4,7 @@ reset master;
|
||||
reset slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
start slave;
|
||||
call mtr.add_supression("Slave: Can\'t find record in \'user\' Error_code: 1032");
|
||||
call mtr.add_suppression("Slave: Can\'t find record in \'user\' Error_code: 1032");
|
||||
reset master;
|
||||
SET @save_select_limit=@@session.sql_select_limit;
|
||||
SET @@session.sql_select_limit=10, @@session.pseudo_thread_id=100;
|
||||
|
@@ -4,7 +4,7 @@ reset master;
|
||||
reset slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
start slave;
|
||||
call mtr.add_supression("Deadlock found");
|
||||
call mtr.add_suppression("Deadlock found");
|
||||
**** On Master ****
|
||||
SET SESSION BINLOG_FORMAT=ROW;
|
||||
CREATE TABLE t1 (a INT PRIMARY KEY, b INT);
|
||||
|
@@ -14,8 +14,8 @@ reset master;
|
||||
|
||||
connection slave;
|
||||
|
||||
# Add supression for expected warnings in slaves error log
|
||||
call mtr.add_supression("Failed during slave.*thread initialization");
|
||||
# Add suppression for expected warnings in slaves error log
|
||||
call mtr.add_suppression("Failed during slave.*thread initialization");
|
||||
|
||||
--disable_warnings
|
||||
stop slave;
|
||||
|
@@ -7,9 +7,9 @@ source include/have_innodb.inc;
|
||||
connection slave;
|
||||
source include/have_innodb.inc;
|
||||
|
||||
# Add supression for expected warning(s) in slaves error log
|
||||
call mtr.add_supression("Slave: Can\'t find record in \'t1\' Error_code: 1032");
|
||||
call mtr.add_supression("Slave: Cannot add or update a child row: a foreign key constraint fails .* Error_code: 1452");
|
||||
# Add suppression for expected warning(s) in slaves error log
|
||||
call mtr.add_suppression("Slave: Can\'t find record in \'t1\' Error_code: 1032");
|
||||
call mtr.add_suppression("Slave: Cannot add or update a child row: a foreign key constraint fails .* Error_code: 1452");
|
||||
|
||||
connection master;
|
||||
CREATE TABLE t1 (a INT PRIMARY KEY);
|
||||
|
@@ -17,8 +17,8 @@ source include/add_anonymous_users.inc;
|
||||
save_master_pos;
|
||||
connection slave;
|
||||
|
||||
# Add supression for expected warning(s) in slaves error log
|
||||
call mtr.add_supression("Slave: Can\'t find record in \'user\' Error_code: 1032");
|
||||
# Add suppression for expected warning(s) in slaves error log
|
||||
call mtr.add_suppression("Slave: Can\'t find record in \'user\' Error_code: 1032");
|
||||
|
||||
sync_with_master;
|
||||
reset master;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
source include/master-slave.inc;
|
||||
|
||||
call mtr.add_supression("Deadlock found");
|
||||
call mtr.add_suppression("Deadlock found");
|
||||
|
||||
--echo **** On Master ****
|
||||
connection master;
|
||||
|
Reference in New Issue
Block a user