1. 21 Jan, 2010 1 commit
    • Luis Soares's avatar
      BUG#50474: rpl_slave_load_remove_tmpfile failed on windows debug · 0c906be9
      Luis Soares authored
      enabled binary
      
      The test case injects an error in the server by deleting the
      temporary file that it uses during the load data statement
      execution. The error consisted of closing, deleting and setting
      the file descriptor to -1 right before calling mysql_file_write.
      
      Although, this error injection seems to work OK in Unix like
      environments, in Windows, this would cause the server to hit an
      assertion in 'my_get_open_flags':
      
        DBUG_ASSERT(fd >= MY_FILE_MIN && fd < (int)my_file_limit)
      
      We fix this by changing the error injection to just call the
      macro my_delete_allow_opened, instead of the close + delete + set
      fd=-1. The macro deletes the file and is platform
      independent. Additionally, this required some changes to how the
      assertion is handled in the test case to make it cope with this
      change.
      0c906be9
  2. 20 Jan, 2010 1 commit
    • Luis Soares's avatar
      BUG#50473: rpl_sync fails on windows debug enabled binaries · 27828ba8
      Luis Soares authored
      The test case was failing because it contained instructions
      to close/reopen files, when they were in use. This raises
      problems in windows. Example of such instruction:
      
      ---exec echo "failure" > $MYSQLD_SLAVE_DATADIR/$file
      
      The test also contains commands that are not platform 
      agnostic. Example:
      
      --exec cat $MYSQLD_SLAVE_DATADIR/master.backup > \
                 $MYSQLD_SLAVE_DATADIR/master.info
      
      We fix this by just truncating the necessary file and write
      "failure" into it (ie, without closing the file). The
      platform specific instruction is removed from the test
      case as it seems redundant.
      27828ba8
  3. 14 Jan, 2010 1 commit
  4. 12 Jan, 2010 4 commits
  5. 11 Jan, 2010 3 commits
    • Alexander Nozdrin's avatar
      Backporting revision from mysql-6.0-codebase-bugfixing. · ba3b5a7e
      Alexander Nozdrin authored
      Original revision:
      ------------------------------------------------------------
      revno: 3817
      revision-id: guilhem@mysql.com-20100108092756-k0zzf4kvx9b7bh38
      parent: guilhem@mysql.com-20100107101133-hrrgcdqg508runuf
      committer: Guilhem Bichot <guilhem@mysql.com>
      branch nick: mysql-6.0-codebase-bugfixing
      timestamp: Fri 2010-01-08 10:27:56 +0100
      message:
        fix for BUG#50120 "Valgrind errors in any test, inside mysqltest"
        Problem was that as v->name[v->name_len] may be uninitialized (which is ok per se),
        it shouldn't be used in an if(). We remove this zero_the_char/restore_it logic by
        rather zero-terminating the v->name string when we create it in var_init().
      ------------------------------------------------------------
      ba3b5a7e
    • Alexander Nozdrin's avatar
      Backporting revision from mysql-6.0-codebase-bugfixing. · c06a3050
      Alexander Nozdrin authored
      Original revision:
      
      ------------------------------------------------------------
      revno: 3789.1.9
      revision-id: serg@mysql.com-20091229134448-phe834ukzmi0k2e3
      parent: serg@mysql.com-20091227081418-bgfg952gzumn1k3h
      committer: Sergei Golubchik <serg@mysql.com>
      branch nick: 6.0-codebase
      timestamp: Tue 2009-12-29 14:44:48 +0100
      message:
        better fix for Bug#48758 mysqltest crashes on sys_vars.collation_server_basic in gcov builds
        
        use setenv instead of putenv
      ------------------------------------------------------------
      c06a3050
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · 7973ab7c
      Alexander Nozdrin authored
      7973ab7c
  6. 07 Jan, 2010 1 commit
  7. 06 Jan, 2010 10 commits
  8. 04 Jan, 2010 4 commits
  9. 31 Dec, 2009 1 commit
  10. 29 Dec, 2009 1 commit
  11. 28 Dec, 2009 1 commit
    • Alexey Kopytov's avatar
      Manual merge of WL#4738 from mysql-next-mr: · 85d5a08b
      Alexey Kopytov authored
       
      - backported code that handles %f/%g arguments in 
      my_vsnprintf.c from 6.0 
      - backported %f/%g tests in unittest/mysys/my_vsnprintf-t.c 
      from 6.0 
      - replaced snprintf("%g") in sql/set_var.cc with my_gcvt() 
      - removed unnecessary "--replace-result"s for Windows in 
      mysql-test/suite/sys_vars/t/long_query_time_basic.test 
      - some test results adjustments
      85d5a08b
  12. 26 Dec, 2009 2 commits
  13. 25 Dec, 2009 3 commits
  14. 24 Dec, 2009 7 commits