1. 03 Oct, 2008 2 commits
    • Davi Arnaut's avatar
      Bug#37481: status.test fails randomly · 57c85d55
      Davi Arnaut authored
      The problem was that the test was trying to obtain a lock on
      a table in one connection without ensuring that a insert which
      was executed in another connection had released the lock on the
      same table.
      
      The solution is to add a dummy select query after the insert to
      ensure that the table is unlocked and closed by the time it tries
      to lock it again. This is enough to prevent test failures described
      in the bug report. As an extra safety measure, concurrent inserts
      are disabled.
      
      Remove comments that calculated the Table_locks_immediate. This
      value is not tested anymore and it's calculation did not reflect
      the actual value.
      57c85d55
    • Davi Arnaut's avatar
      Wrap function used for debugging with the DBUG_OFF condition. · f18e4350
      Davi Arnaut authored
      Function uses a variable only available under debug mode.
      f18e4350
  2. 02 Oct, 2008 10 commits
  3. 01 Oct, 2008 17 commits
  4. 30 Sep, 2008 9 commits
  5. 29 Sep, 2008 2 commits
    • Davi Arnaut's avatar
      Merge from parent branch. · b976918c
      Davi Arnaut authored
      b976918c
    • Alexey Botchkov's avatar
      Bug#37949 Crash if argument to SP is a subquery that returns more than one row · b6f4b1c0
      Alexey Botchkov authored
           JOIN for the subselect wasn't cleaned if we came upon an error
           during sub_select() execution. That leads to the assertion failure
           in close_thread_tables()
      
           part of the 6.0 code backported
      
      per-file comments:
        mysql-test/r/sp-error.result
      Bug#37949 Crash if argument to SP is a subquery that returns more than one row 
          test result
      
        mysql-test/t/sp-error.test
      Bug#37949 Crash if argument to SP is a subquery that returns more than one row 
          test case
      
        sql/sp_head.cc
      Bug#37949 Crash if argument to SP is a subquery that returns more than one row 
          lex->unit.cleanup() call added if not substatement
      b6f4b1c0