1. 26 Nov, 2007 1 commit
    • thek@adventure.(none)'s avatar
      Bug#16470 crash on grant if old grant tables · 34565021
      thek@adventure.(none) authored
      Loading 4.1 into 5.0 or 5.1 failed silently because procs_priv table missing.
      This caused the server to crash on any attempt to store new grants because
      of uninitialized structures.
      
      This patch breaks up the grant loading function into two phases to allow
      for procs_priv table to fail with an warning instead of crashing the server.
      34565021
  2. 16 Oct, 2007 2 commits
  3. 15 Oct, 2007 5 commits
  4. 12 Oct, 2007 3 commits
  5. 11 Oct, 2007 7 commits
  6. 10 Oct, 2007 12 commits
  7. 09 Oct, 2007 5 commits
    • davi@moksha.com.br's avatar
      Merge moksha.com.br:/Users/davi/mysql/push/mysql-5.0-runtime · c3d06676
      davi@moksha.com.br authored
      into  moksha.com.br:/Users/davi/mysql/push/bugs/31409-5.0
      c3d06676
    • davi@moksha.local's avatar
      Bug#31409 RENAME TABLE causes server crash or deadlock when used with HANDLER statements · 7252cbe1
      davi@moksha.local authored
      This deadlock occurs when a client issues a HANDLER ... OPEN statement
      that tries to open a table that has a pending name-lock on it by another
      client that also needs a name-lock on some other table which is already
      open and associated to a HANDLER instance owned by the first client.
      The deadlock happens because the open_table() function will back-off
      and wait until the name-lock goes away, causing a circular wait if some
      other name-lock is also pending for one of the open HANDLER tables.
      
      Such situation, for example, can be easily repeated by issuing a RENAME
      TABLE command in such a way that the existing table is already open
      as a HANDLER table by another client and this client tries to open
      a HANDLER to the new table name.
      
      The solution is to allow handler tables with older versions (marked for
      flush) to be closed before waiting for the name-lock completion. This is
      safe because no other name-lock can be issued between the flush and the
      check for pending name-locks.
      
      The test case for this bug is going to be committed into 5.1 because it
      requires a test feature only avaiable in 5.1 (wait_condition).
      7252cbe1
    • davi@moksha.local's avatar
      Merge moksha.local:/Users/davi/mysql/push/mysql-5.0-runtime · efdd32ce
      davi@moksha.local authored
      into  moksha.local:/Users/davi/mysql/push/mysql-5.1-runtime
      efdd32ce
    • anozdrin/alik@station.'s avatar
      Fix merge. · 27ee6db9
      anozdrin/alik@station. authored
      27ee6db9
    • anozdrin/alik@station.'s avatar
      Merge station.:/mnt/raid/alik/MySQL/devel/5.0-rt · 1d63cac0
      anozdrin/alik@station. authored
      into  station.:/mnt/raid/alik/MySQL/devel/5.1-rt-merged
      1d63cac0
  8. 08 Oct, 2007 4 commits
  9. 07 Oct, 2007 1 commit