1. 10 Nov, 2010 5 commits
    • Oystein Grovlen's avatar
      Bug#57704 Cleanup code dies with void TABLE::set_keyread(bool): Assertion `file' failed. · 117c19c2
      Oystein Grovlen authored
      This bug was introduced in this revision: 
      kostja@sun.com-20100727102553-b4n2ojcyfj79l2x7
      ("A pre-requisite patch for the fix for Bug#52044.")
      
      It happens because close_thread_tables() is now called in
      open_and_lock_tables upon failure.  Hence, table is no longer
      open when optimizer tries to do cleanup.
      
      Fix: Make sure to do cleanup in st_select_lex_unit::prepare()
      upon failure. This way, cleanup() is called before tables are
      released.
      117c19c2
    • Dmitry Shulga's avatar
      null merge. · 05e307ae
      Dmitry Shulga authored
      05e307ae
    • Dmitry Shulga's avatar
      Fixed bug#56619 - Assertion failed during · ce3a7f4b
      Dmitry Shulga authored
      ALTER TABLE RENAME, DISABLE KEYS.
      
      The code of ALTER TABLE RENAME, DISABLE KEYS could
      issue a commit while holding LOCK_open mutex.
      This is a regression introduced by the fix for
      Bug 54453.
      This failed an assert guarding us against a potential
      deadlock with connections trying to execute
      FLUSH TABLES WITH READ LOCK.
      
      The fix is to move acquisition of LOCK_open outside
      the section that issues ha_autocommit_or_rollback().
      LOCK_open is taken to protect against concurrent
      operations with .frms and the table definition
      cache, and doesn't need to cover the call to commit.
      
      A test case added to innodb_mysql.test.
      
      The patch is to be null-merged to 5.5, which
      already has 54453 null-merged to it.
      ce3a7f4b
    • Dmitry Shulga's avatar
      Auto-merge from 5.1-bugteam for bug#57386. · 64b897b0
      Dmitry Shulga authored
      64b897b0
    • Dmitry Shulga's avatar
  2. 09 Nov, 2010 9 commits
  3. 08 Nov, 2010 10 commits
  4. 07 Nov, 2010 3 commits
  5. 06 Nov, 2010 1 commit
  6. 05 Nov, 2010 10 commits
  7. 04 Nov, 2010 2 commits