1. 08 Jun, 2009 4 commits
    • Davi Arnaut's avatar
      Test is very resource intensive under debug and valgrind runs. · 8ad45961
      Davi Arnaut authored
      Under a debug run, the trace file grows to a few gigabytes.
      Under valgrind, takes more then 20 minutes due to the high
      number of insert statements.
      
      mysql-test/t/multi_update2.test:
        Skip under --valgrind and --debug.
      8ad45961
    • Davi Arnaut's avatar
      Fix for a valgrind warning due to use of a uninitialized · 01912b20
      Davi Arnaut authored
      variable. The problem was that THD::connect_utime could be
      used without being initialized when the main thread is used
      to handle connections (--thread-handling=no-threads).
      
      sql/mysqld.cc:
        Set THD::start_utime even in no-threads handling mode.
      sql/sql_class.cc:
        Initialize variable.
      sql/sql_class.h:
        Rename connect_utime to prior_thr_create_utime as to
        better reflect it's use intention.
      sql/sql_connect.cc:
        Check only if a thread was actually created.
      01912b20
    • Davi Arnaut's avatar
      Test is very resource intensive under debug and valgrind runs. · a7c27077
      Davi Arnaut authored
      Under a debug run, the trace file grows to a few gigabytes.
      Under valgrind, takes more then 20 minutes due to the high
      number of insert statements.
      
      mysql-test/t/multi_update2.test:
        Skip under --valgrind and --debug.
      a7c27077
    • Davi Arnaut's avatar
      Merge from 5.1 main. · 55eee520
      Davi Arnaut authored
      55eee520
  2. 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
  3. 06 Jun, 2009 7 commits
  4. 05 Jun, 2009 17 commits
  5. 04 Jun, 2009 11 commits