1. 06 Aug, 2007 2 commits
  2. 05 Aug, 2007 3 commits
    • dlenev@mockturtle.local's avatar
      Added test for bug #21281 "Pending write lock is incorrectly removed · c3e3a5e1
      dlenev@mockturtle.local authored
      when its statement being KILLed". The bug itself was fixed by separate
      patch in 5.0 tree.
      c3e3a5e1
    • dlenev@mockturtle.local's avatar
      Merge mockturtle.local:/home/dlenev/src/mysql-5.0-bg21281 · ec2aeb4f
      dlenev@mockturtle.local authored
      into  mockturtle.local:/home/dlenev/src/mysql-5.1-bg21281-2
      ec2aeb4f
    • dlenev@mockturtle.local's avatar
      Fix for bug #21281 "Pending write lock is incorrectly removed when its · a43431b3
      dlenev@mockturtle.local authored
      statement being KILLed".
      
      When statement which was trying to obtain write lock on then table and
      which was blocked by existing read lock was killed, concurrent statements
      that were trying to obtain read locks on the same table and that were
      blocked by the presence of this pending write lock were not woken up and
      had to wait until this first read lock goes away.
      
      This problem was caused by the fact that we forgot to wake up threads
      which pending requests could have been satisfied after removing lock
      request for the killed thread.
      
      The patch solves the problem by waking up those threads in such situation.
      
      Test for this bug will be added to 5.1 only as it has much better
      facilities for its implementation. Particularly, by using I_S.PROCESSLIST
      and wait_condition.inc script we can wait until thread will be blocked on
      certain table lock without relying on unconditional sleep (which usage
      increases time needed for test runs and might cause spurious test
      failures on slower platforms).
      a43431b3
  3. 03 Aug, 2007 1 commit
    • anozdrin/alik@ibm.'s avatar
      Fix for BUG#30123: mysqldump is unable to work with old servers. · e76351df
      anozdrin/alik@ibm. authored
      New server (as of 5.1.21) provides new features:
        - SHOW CREATE TRIGGER;
        - character set information for SHOW TRIGGERS and SHOW CREATE
          EVENT | FUNCTION | PROCEDURE statements.
      Mysqldump uses these features to generate proper dump.
      
      The bug happened when new mysqldump was used to dump older servers.
      The problem was that 5.1.21 new features are not available, so
      mysqldump exited with error code or just crashed.
      
      The fix is to detect if mysqldump has ben run against older server
      and don't use new 5.1.21 functionality in this case. Certainly,
      the dump generated for the older server suffers from the character
      set problems fixed by BUG#16291 and the like.
      e76351df
  4. 02 Aug, 2007 1 commit
  5. 01 Aug, 2007 5 commits
  6. 31 Jul, 2007 6 commits
  7. 30 Jul, 2007 5 commits
  8. 29 Jul, 2007 3 commits
  9. 28 Jul, 2007 1 commit
  10. 27 Jul, 2007 13 commits