1. 09 Jun, 2009 5 commits
    • Staale Smedseng's avatar
      Merge from 5.0-bugteam for 43414 · 62bb2beb
      Staale Smedseng authored
      62bb2beb
    • Staale Smedseng's avatar
      Bug #43414 Parenthesis (and other) warnings compiling MySQL · a073ee45
      Staale Smedseng authored
      with gcc 4.3.2
            
      Compiling MySQL with gcc 4.3.2 and later produces a number of 
      warnings, many of which are new with the recent compiler
      versions.
            
      This bug will be resolved in more than one patch to limit the
      size of changesets. This is the first patch, fixing a number 
      of the warnings, predominantly "suggest using parentheses 
      around && in ||", and empty for and while bodies.
      a073ee45
    • Davi Arnaut's avatar
      Remove assignments of the $MASTER_MYSOCK variable. · cb26bb93
      Davi Arnaut authored
      This variable is defined by default and one should not do it
      directly as the socket variable is not available on Windows.
      cb26bb93
    • Davi Arnaut's avatar
      Don't run funcs_1/myisam_views test case under valgrind, unless · e66c574d
      Davi Arnaut authored
      the --big-test flag is supplied. Test is too resource intensive
      under normal valgrind runs (takes more than 30min on powerful
      hardware).
      
      mysql-test/include/no_valgrind_without_big.inc:
        Add MTR prerequisite file by Matthias Leich.
      mysql-test/suite/funcs_1/t/myisam_views.test:
        Test is too resource intensive under "Valgrind".
      e66c574d
    • Staale Smedseng's avatar
      Bug #43414 Parenthesis (and other) warnings compiling MySQL · a092ed1a
      Staale Smedseng authored
      with gcc 4.3.2
      
      Compiling MySQL with gcc 4.3.2 and later produces a number of 
      warnings, many of which are new with the recent compiler
      versions.
      
      This bug will be resolved in more than one patch to limit the
      size of changesets. This is the first patch, fixing a number 
      of the warnings, predominantly "suggest using parentheses 
      around && in ||", and empty for and while bodies.
      a092ed1a
  2. 08 Jun, 2009 5 commits
  3. 07 Jun, 2009 1 commit
    • Gleb Shchepa's avatar
      Bug #44886: SIGSEGV in test_if_skip_sort_order() - · ed7f0f30
      Gleb Shchepa authored
                  uninitialized variable used as subscript
      
      Grouping select from a "constant" InnoDB table (a table
      of a single row) joined with other tables caused a crash.
      
      
      mysql-test/r/innodb_mysql.result:
        Added test case for bug bug #44886.
      mysql-test/t/innodb_mysql.test:
        Added test case for bug bug #44886.
      sql/sql_select.cc:
        Bug #44886: SIGSEGV in test_if_skip_sort_order() -
                    uninitialized variable used as subscript
        
        1. The test_if_order_by_key function returned unitialized
           used_key_parts parameter in case of a "constant" InnoDB
           table. Calling function uses this parameter values as
           an array index, thus sometimes it caused a crash.
           The test_if_order_by_key function has been modified
           to set used_key_parts to 0 (no need for ordering).
        
        2. The test_if_skip_sort_order function has been
           modified to accept zero used_key_parts value and
           to prevent an array access by negative index.
      ed7f0f30
  4. 06 Jun, 2009 7 commits
  5. 05 Jun, 2009 17 commits
  6. 04 Jun, 2009 5 commits