#At file:///media/sda3/work/mysql/bzrwork/b39714/6.0-rpl/
2714 He Zhenxing 2008-10-29
BUG#39714 mtr.check_warnings can be painfully slow if error log file is large
Test backup_logs.test mistakenly turned on debug output to error log
by setting debug="d", which caused the error log to be very large (> 1M)
and mtr.check_warnings would spend a long time to process the error log,
and can cause the test fail because of timeout. The test case does not
need to enable debug output, what it need is to reset the debug action
it set before.
This patch fixed the problem by resetting debug to "" instead of "d".
modified:
mysql-test/r/backup_logs.result
mysql-test/t/backup_logs.test
per-file messages:
mysql-test/r/backup_logs.result
update result file
mysql-test/t/backup_logs.test
reset debug to empty instead of "d"
=== modified file 'mysql-test/r/backup_logs.result'
--- a/mysql-test/r/backup_logs.result 2008-10-10 09:42:05 +0000
+++ b/mysql-test/r/backup_logs.result 2008-10-29 01:59:29 +0000
@@ -188,7 +188,7 @@ SET SESSION debug="d,set_backup_id";
BACKUP DATABASE backup_logs to 'backup_logs_orig.bak';
backup_id
500
-SET SESSION debug="d";
+SET SESSION debug="";
The backup id for this command should be 501.
BACKUP DATABASE backup_logs to 'backup_logs_orig.bak';
backup_id
=== modified file 'mysql-test/t/backup_logs.test'
--- a/mysql-test/t/backup_logs.test 2008-10-10 09:42:05 +0000
+++ b/mysql-test/t/backup_logs.test 2008-10-29 01:59:29 +0000
@@ -208,7 +208,7 @@ SET SESSION debug="d,set_backup_id";
#--replace_column 1 #
BACKUP DATABASE backup_logs to 'backup_logs_orig.bak';
-SET SESSION debug="d";
+SET SESSION debug="";
--remove_file $MYSQLD_BACKUPDIR/backup_logs_orig.bak
--echo The backup id for this command should be 501.
| Thread |
|---|
| • bzr commit into mysql-6.0-rpl branch (hezx:2714) Bug#39714 | He Zhenxing | 29 Oct |