1. 24 Apr, 2009 4 commits
    • Satya B's avatar
      Applying InnoDB snashot 5.0-ss4900, part 2. Fixes BUG#43309 · f05f760e
      Satya B authored
      1) BUG#43309 - Test main.innodb can't be run twice
      
      Detailed revision comments:
      
      r4701 | vasil | 2009-04-13 17:03:46 +0300 (Mon, 13 Apr 2009) | 6 lines
      branches/5.0:
      
      Fix Bug#43309 Test main.innodb can't be run twice
      
      by making the innodb.test reentrant.
      f05f760e
    • Satya B's avatar
      Applying InnoDB snashot 5.0-ss4900 part 1, Fixes BUG#42279 · 8d06b4de
      Satya B authored
      1) BUG#42279 - Race condition in btr_search_drop_page_hash_when_freed()
      
      Detailed revision comments:
      
      r4031 | marko | 2009-01-23 15:33:46 +0200 (Fri, 23 Jan 2009) | 8 lines
      branches/5.0: btr_search_drop_page_hash_when_freed(): Check if
      buf_page_get_gen() returns NULL.  The page may have been evicted
      from the buffer pool between buf_page_peek_if_search_hashed() and
      buf_page_get_gen(), because the buffer pool mutex will be released
      between these two calls. (Bug #42279)
      
      rb://82 approved by Heikki Tuuri
      8d06b4de
    • Satya B's avatar
      merge to latest 5.0-bugteam tree · 07ff941a
      Satya B authored
      07ff941a
    • Satya B's avatar
      Fix for BUG#43660- SHOW INDEXES/ANALYZE does NOT update cardinality · 97ae03bf
      Satya B authored
                         for indexes of InnoDB table
      
      Fixes by replacing the PRNG that is used to pick random pages with a 
      better one. 
      
      Also adds a configuration option "innodb_use_legacy_cardinality_algorithm"
      to enable the fix only when the option is set.
      
      This patch is from http://bugs.mysql.com/file.php?id=11789
      97ae03bf
  2. 23 Apr, 2009 1 commit
  3. 21 Apr, 2009 1 commit
    • Sergey Vojtovich's avatar
      BUG#36966 - mysqldump.test fails in pushbuild · 90449829
      Sergey Vojtovich authored
      mysqldump.test is designed to run with concurrent inserts
      disabled. It is disabling concurrent inserts at the very
      beginning of the test case, and re-enables them at the
      bottom of the test. But for some reason (likely incorrect
      merge) we enable concurrent inserts in the middle of the test.
      
      The problem is fixed by enabling concurrent inserts only
      at the bottom of the test case.
      90449829
  4. 17 Apr, 2009 2 commits
    • Georgi Kodinov's avatar
      Bug #35087: Inserting duplicate values at one time with DES_ENCRYPT leads · 4783b2e1
      Georgi Kodinov authored
        to wrong results
            
      3 problems found with DES_ENCRYPT/DES_DECRYPT :
      
      1. The max length was not calculated properly. Fixed in fix_length_and_dec()
      2. DES_ENCRYPT had a side effect of sometimes reallocating and changing 
      the value of its argument. Fixed by explicitly pre-allocating the necessary
      space to pad the argument with trailing '*' (stars) when calculating the 
      DES digest.
      3. in DES_ENCRYPT the string buffer for the result value was not 
      reallocated to the correct size and only string length was assigned to it. 
      Fixed by making sure there's enough space to hold the result.
      4783b2e1
    • Sergey Glukhov's avatar
      Bug#44151 using handler commands on information_schema tables crashes server · 4fbfa8db
      Sergey Glukhov authored
      information schema tables are based on internal tmp tables which are removed
      after each statement execution. So HANDLER comands can not be used with
      information schema.
      4fbfa8db
  5. 16 Apr, 2009 2 commits
  6. 14 Apr, 2009 1 commit
  7. 09 Apr, 2009 6 commits
  8. 08 Apr, 2009 3 commits
  9. 07 Apr, 2009 2 commits
    • Satya B's avatar
      merge to latest 5.0-bugteam · 87bedb59
      Satya B authored
      87bedb59
    • Satya B's avatar
      Fix for Bug #43973 - backup_myisam.test fails on 6.0-bugteam · c045d1dc
      Satya B authored
            
      The test started failing following the push for BUG#41541.
      Some of the algorithms access bytes beyond the input data
      and this can affect up to one byte less than "word size"
      which is BITS_SAVED / 8. 
            
      Fixed by adding (BITS_SAVED / 8) -1 bytes to buffer size
      (i.e. Memory Segment #2) to avoid accessing un-allocated data.
      c045d1dc
  10. 03 Apr, 2009 1 commit
    • Davi Arnaut's avatar
      Bug#43230: SELECT ... FOR UPDATE can hang with FLUSH TABLES WITH READ LOCK indefinitely · aebaf079
      Davi Arnaut authored
      The problem is that a SELECT .. FOR UPDATE statement might open
      a table and later wait for a impeding global read lock without
      noticing whether it is holding a table that is being waited upon
      the the flush phase of the process that took the global read
      lock.
      
      The same problem also affected the following statements:
      
      LOCK TABLES .. WRITE
      UPDATE .. SET (update and multi-table update)
      TRUNCATE TABLE ..
      LOAD DATA ..
      
      The solution is to make the above statements wait for a impending
      global read lock before opening the tables. If there is no
      impending global read lock, the statement raises a temporary
      protection against global read locks and progresses smoothly
      towards completion.
      
      Important notice: the patch does not try to address all possible
      cases, only those which are common and can be fixed unintrusively
      enough for 5.0.
      aebaf079
  11. 02 Apr, 2009 3 commits
  12. 01 Apr, 2009 4 commits
  13. 31 Mar, 2009 2 commits
  14. 30 Mar, 2009 3 commits
  15. 27 Mar, 2009 5 commits