From f81d05c5d3c252619a8e6fcabe2fb7d0794210f8 Mon Sep 17 00:00:00 2001 From: Magnus Svensson Date: Wed, 28 Jan 2009 11:24:55 +0100 Subject: [PATCH] Bug#42408 Faulty regex for detecting [Warning] and [ERROR] in mysqld error log - Disable the two patterns that previously have been faulty - for now. --- mysql-test/mysql-test-run.pl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 42c243cad8c..5cc1d1f08e3 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -3425,8 +3425,15 @@ sub extract_warning_lines ($) { my @patterns = ( - qr/^Warning:|mysqld: Warning|\[Warning\]/, - qr/^Error:|\[ERROR\]/, + # The patterns for detection of [Warning] and [ERROR] + # in the server log files have been faulty for a longer period + # and correcting them shows a few additional harmless warnings. + # Thus those patterns are temporarily removed from the list + # of patterns. For more info see BUG#42408 + # qr/^Warning:|mysqld: Warning|\[Warning\]/, + # qr/^Error:|\[ERROR\]/, + qr/^Warning:|mysqld: Warning/, + qr/^Error:/, qr/^==.* at 0x/, qr/InnoDB: Warning|InnoDB: Error/, qr/^safe_mutex:|allocated at line/,