Bug #40404 Test backup_logs generate a lot of debug trace

Submitted: 29 Oct 2008 18:29 Modified: 15 Nov 2008 0:46
Reporter: Øystein Grøvlen Email Updates:
Status: Closed Impact on me:
None 
Category:Tests: Server Severity:S3 (Non-critical)
Version:6.0 OS:Any
Assigned to: Øystein Grøvlen CPU Architecture:Any

[29 Oct 2008 18:29] Øystein Grøvlen
Description:
Running the backup_logs test generate a 20MB master.err file.  This causes the test to take long to complete since the file is parsed for errors.

How to repeat:
./mtr backup_logs

Suggested fix:
=== modified file 'mysql-test/suite/backup/t/backup_logs.test'
--- mysql-test/suite/backup/t/backup_logs.test	2008-10-15 20:00:48 +0000
+++ mysql-test/suite/backup/t/backup_logs.test	2008-10-29 18:24:38 +0000
@@ -195,7 +195,7 @@ SET DEBUG_SYNC= 'RESET';
 #
 # Now test read of backupid with known id using debug insertion
 #
-SET SESSION debug="d,set_backup_id";
+SET SESSION debug="+d,set_backup_id";
 
 --remove_file $MYSQLTEST_VARDIR/master-data/backup_logs_orig.bak
 
@@ -205,7 +205,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="-d";
 
 --remove_file $MYSQLTEST_VARDIR/master-data/backup_logs_orig.bak
 --echo The backup id for this command should be 501.
[30 Oct 2008 12:47] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/57446

2723 oystein.grovlen@sun.com	2008-10-30
      BUG#40404 Test backup_logs generate a lot of debug trace
      
      Change debug setting to avoid generating debug trace.
[3 Nov 2008 14:05] Rafal Somla
Good to push.
[4 Nov 2008 11:49] Jørgen Løland
Good to push
[7 Nov 2008 14:00] Øystein Grøvlen
Patch pushed to backup team tree.
(Revision id: oystein.grovlen@sun.com-20081107104048-incl6avk0zx0l13w)
[14 Nov 2008 14:50] Bugs System
Pushed into 6.0.9-alpha  (revid:oystein.grovlen@sun.com-20081030124630-z9plp7fl5ue1nx6f) (version source revid:jorgen.loland@sun.com-20081114134411-xypyf8wyjc2nm3ly) (pib:5)
[15 Nov 2008 0:46] Paul DuBois
Test case changes. No changelog entry needed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.057 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.