1. 25 Jan, 2007 1 commit
    • kroki/tomash@moonlight.home's avatar
      BUG#23527: set global query_cache_size can crash the server under · 68a3e963
      kroki/tomash@moonlight.home authored
                 high load
      
      MySQL server could crash if two or more threads would initiate query
      cache resize at the moments very close in time.
      
      The problem was introduced with the fix of bug 21051 in 5.0 and 5.1:
      simultaneous query cache resizes would wait for the first one in
      progress, but then each thread would try to finish the operation,
      accessing the data that was already reset (attempt to dereference
      'bins' pointer, which may be NULL already).
      
      The solution is to check after synchronization if another thread has
      done the reset already (test 'query_cache_size > 0' again).
      
      No test case is provided because the bug is a subject to a race.
      68a3e963
  2. 12 Dec, 2006 2 commits
  3. 11 Dec, 2006 1 commit
  4. 04 Dec, 2006 3 commits
  5. 01 Dec, 2006 1 commit
  6. 29 Nov, 2006 12 commits
  7. 28 Nov, 2006 10 commits
  8. 27 Nov, 2006 10 commits