1. 14 Jan, 2010 3 commits
    • Olav Sandstaa's avatar
      Fix for Bug#50221 Server refuses to start from non-default installdir on Solaris 32-bit · 6559e927
      Olav Sandstaa authored
      When starting mysqld it did not recognize most of the options given on
      the command line when it was compiled for 32-bit Solaris using Sun
      Studio compiler. The cause for this was that most of the entries in
      the my_long_options array contained "garbage" data. The garbage data
      was caused by a compiler bug. When initilizing the def_value member
      for the "default-storage-engine" entry it was initialized like this:
      
        (longlong)"MyISAM"
      
      i.e. casting a 32 bit pointer to a 64 bit integer value. Due to the
      compiler bug only 4 bytes was allocated (instead of 8 bytes). This
      caused everything following this entry to be stored at a location that
      was 4 byte wrong.
      
      The fix/work-around for this problem is initialize the def_value
      for default-storage-engine in my_long_options to 0 and instead
      initialize the default_storage_engine variable to "MyISAM" in
      init_common_variables().
      6559e927
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · 7401bc28
      Alexander Nozdrin authored
      7401bc28
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · 9c820e63
      Alexander Nozdrin authored
      9c820e63
  2. 12 Jan, 2010 5 commits
  3. 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
  4. 07 Jan, 2010 1 commit
  5. 06 Jan, 2010 10 commits
  6. 04 Jan, 2010 4 commits
  7. 31 Dec, 2009 1 commit
  8. 29 Dec, 2009 1 commit
  9. 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
  10. 26 Dec, 2009 2 commits
  11. 25 Dec, 2009 3 commits
  12. 24 Dec, 2009 6 commits