1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Masking out some more errors and warnings that are benign.

This commit is contained in:
mkindahl@dl145h.mysql.com
2008-02-04 07:15:14 +01:00
parent e493906588
commit ff40ccb8d7
2 changed files with 12 additions and 3 deletions

View File

@ -1,5 +1,7 @@
# Remove anonymous users added by add_anonymous_users.inc # Remove anonymous users added by add_anonymous_users.inc
disable_warnings;
disable_query_log; disable_query_log;
DELETE FROM mysql.user where host='localhost' and user=''; DELETE FROM mysql.user where host='localhost' and user='';
FLUSH PRIVILEGES; FLUSH PRIVILEGES;
enable_query_log; enable_query_log;
enable_warnings;

View File

@ -375,9 +375,16 @@ sub mtr_report_stats ($) {
/Slave: Cannot add or update a child row: a foreign key constraint fails .* Error_code: 1452/ /Slave: Cannot add or update a child row: a foreign key constraint fails .* Error_code: 1452/
)) or )) or
# rpl_skip_error produce an error which is skipped (slave does not stop) # rpl_skip_error and binlog_killed_simulate produce an error which is skipped (slave does not stop)
($testname eq 'rpl.rpl_skip_error' and (($testname eq 'rpl.rpl_skip_error' or
/Failed to write to mysql\.general_log/) $testname eq 'binlog.binlog_killed_simulate') and
(/Failed to write to mysql\.general_log/
)) or
# rpl_temporary has an error on slave that can be ignored
($testname eq 'rpl.rpl_temporary' and
(/Slave: Can\'t find record in \'user\' Error_code: 1032/
))
) )
{ {
next; # Skip these lines next; # Skip these lines