summaryrefslogtreecommitdiff
path: root/mysql-test/lib
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2006-05-03 19:40:52 +0300
committerunknown <monty@mysql.com>2006-05-03 19:40:52 +0300
commit3c099551d09b2e2a5a19b0428226d32bd5fe68d7 (patch)
tree56dea2b9467ce7416907481cc2f3c6415d2d8256 /mysql-test/lib
parent8e2650ab3d97791db40d6dc5630bc89f343ffa09 (diff)
downloadmariadb-git-3c099551d09b2e2a5a19b0428226d32bd5fe68d7.tar.gz
Cleanups after review of WL#602
Fixed warnings from test suite Some fixes in mysql-test-run script to catch more warnings mysql-test/lib/mtr_report.pl: Catch more warnings mysql-test/mysql-test-run.sh: Catch warnings from mysqld mysql-test/t/mysqldump.test: Add key_block_size to catch future changes in information schema mysys/errors.c: Ensure that mysql-test-run catches if we call my_close() too many times sql/handler.cc: Initialize all elements sql/log.cc: true -> TRUE sql/sql_class.h: Review change: key_info -> key_create_info sql/sql_lex.h: Review change: key_info -> key_create_info sql/sql_table.cc: Review change: key_info -> key_create_info Don't call mysql_close() if init_ddl_log is not called. Better error handling in init_ddl_log sql/sql_yacc.yy: Review change: key_info -> key_create_info
Diffstat (limited to 'mysql-test/lib')
-rw-r--r--mysql-test/lib/mtr_report.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/lib/mtr_report.pl b/mysql-test/lib/mtr_report.pl
index 4587c8bc385..007cdcdbfd8 100644
--- a/mysql-test/lib/mtr_report.pl
+++ b/mysql-test/lib/mtr_report.pl
@@ -217,7 +217,9 @@ sub mtr_report_stats ($) {
my $found_problems= 0; # Some warnings are errors...
# We report different types of problems in order
- foreach my $pattern ( "^Warning:", "^Error:", "^==.* at 0x" )
+ foreach my $pattern ( "^Warning:", "^Error:", "^==.* at 0x",
+ "InnoDB: Warning", "missing DBUG_RETURN",
+ "mysqld: Warning")
{
foreach my $errlog ( sort glob("$::opt_vardir/log/*.err") )
{