1. 16 Nov, 2007 1 commit
  2. 04 Sep, 2007 2 commits
  3. 03 Sep, 2007 5 commits
  4. 30 Aug, 2007 5 commits
  5. 29 Aug, 2007 13 commits
  6. 28 Aug, 2007 11 commits
  7. 27 Aug, 2007 3 commits
    • davi@moksha.local's avatar
      Bug#30632 HANDLER read failure causes hang · 77d78a88
      davi@moksha.local authored
      If, after the tables are locked, one of the conditions to read from a
      HANDLER table is not met, the handler code wrongly jumps to a error path
      that won't unlock the tables.
      
      The user-visible effect is that after a error in a handler read command,
      all subsequent handler operations on the same table will hang.
      
      The fix is simply to correct the code to jump to the (same) error path that
      unlocks the tables.
      77d78a88
    • davi@moksha.local's avatar
      Bug#25164 create table `a` as select * from `A` hangs · 91e1cc21
      davi@moksha.local authored
      The problem from a user's perspective: user creates table A, and then tries
      to CREATE TABLE a SELECT from A - and this causes a deadlock error, a hang,
      or fails with a debug assert, but only if the storage engine is InnoDB.
      
      The origin of the problem: InnoDB uses case-insensitive collation
      (system_charset_info) when looking up the internal table share, thus returning
      the same share for 'a' and 'A'.
      
      Cause of the user-visible behavior: since the same share is returned to SQL
      locking subsystem, it assumes that the same table is first locked (within the
      same session) for WRITE, and then for READ, and returns a deadlock error.
      However, the code is wrong in not properly cleaning up upon an error, leaving
      external locks in place, which leads to assertion failures and hangs.
      
      Fix that has been implemented: the SQL layer should properly propagate the
      deadlock error, cleaning up and freeing all resources.
      
      Further work towards a more complete solution: InnoDB should not use case
      insensitive collation for table share hash if table names on disk honor the case.
      91e1cc21
    • df@pippilotta.erinye.com's avatar
      adjust version number · 0670af94
      df@pippilotta.erinye.com authored
      0670af94