List:Commits« Previous MessageNext Message »
From:Sven Sandberg Date:May 20 2010 3:38pm
Subject:bzr push into mysql-5.1-bugteam branch (sven.sandberg:3391 to 3392)
Bug#52987
View as plain text  
 3392 Sven Sandberg	2010-05-20
      BUG#52987: mysqldump fails if umask=0077
      Problem: The test case mysqldump reads a file that must
      be world-readable. The test did not force the file to be
      world-readable, so if the tree was branched with a umask
      of 0077, the test would fail.
      Fix: chmod the file.
     @ mysql-test/t/mysqldump.test
        Added chmod so that the file is guaranteed to be world-readable.

    modified:
      mysql-test/t/mysqldump.test
 3391 Sergey Glukhov	2010-05-20
      Bug#52884 mysql-test-run does not work with --debug option
      Server crashes on 64bit linux with 'double free or corruption'
      message, on 32bit mysql-test-run silently fails on bootstrap
      stage. The problem is that FreeState() is called twice
      for init_settings struct in _db_end_ function.
      The fix is to remove superfluous FreeState() call.
      Additional fix:
      fixed discrepancy of result file when
      debug & valgrind options are enabled
      for MTR.
     @ dbug/dbug.c
        The problem is that FreeState() is called twice
        for init_settings struct in _db_end_ function.
        The fix is to remove superfluous FreeState() call.
     @ mysql-test/r/variables_debug.result
        fixed discrepancy of result file when
        debug & valgrind options are enabled
        for MTR.
     @ mysql-test/t/variables_debug.test
        fixed discrepancy of result file when
        debug & valgrind options are enabled
        for MTR.
     @ sql/set_var.cc
        fixed discrepancy of result file when
        debug & valgrind options are enabled
        for MTR.

    modified:
      dbug/dbug.c
      mysql-test/r/variables_debug.result
      mysql-test/t/variables_debug.test
      sql/set_var.cc
=== modified file 'mysql-test/t/mysqldump.test'
--- a/mysql-test/t/mysqldump.test	2010-05-06 20:41:37 +0000
+++ b/mysql-test/t/mysqldump.test	2010-05-20 15:38:01 +0000
@@ -1983,6 +1983,7 @@ drop table if exists `load`;
 create table `load` (a varchar(255));
 
 --copy_file std_data/words.dat $MYSQLTEST_VARDIR/tmp/load.txt
+--chmod 0644 $MYSQLTEST_VARDIR/tmp/load.txt
 
 --exec $MYSQL_IMPORT --ignore test $MYSQLTEST_VARDIR/tmp/load.txt
 


Attachment: [text/bzr-bundle] bzr/sven.sandberg@sun.com-20100520153801-yyhujm1qqa4eyfn0.bundle
Thread
bzr push into mysql-5.1-bugteam branch (sven.sandberg:3391 to 3392)Bug#52987Sven Sandberg20 May