1. 06 Mar, 2008 1 commit
    • thek@adventure.(none)'s avatar
      Bug#25132 disabled query cache: Qcache_free_blocks = 1 · a13cba5a
      thek@adventure.(none) authored
      The initial value of free memory blocks in 0. When the query cache is enabled 
      a new memory block gets allocated and is assigned number 1. The free memory
      block is later split each time query cache memory is allocated for new blocks.
      This means that the free memory block counter won't be reduced to zero when
      the number of allocated blocks are zero, but rather one. To avoid confusion
      this patch changes this behavior so that the free memory block counter is
      reset to zero when the query cache is disabled.
      Note that when the query cache is enabled and resized the free memory block
      counter was still calculated correctly.
      a13cba5a
  2. 24 Jan, 2008 1 commit
  3. 23 Jan, 2008 3 commits
    • malff@lambda.hsd1.co.comcast.net.'s avatar
      manual merge · 7bd56cfa
      malff@lambda.hsd1.co.comcast.net. authored
      7bd56cfa
    • malff@lambda.hsd1.co.comcast.net.'s avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.0-runtime · 1eecc24a
      malff@lambda.hsd1.co.comcast.net. authored
      into  lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.0-33618
      1eecc24a
    • malff@lambda.hsd1.co.comcast.net.'s avatar
      Bug#33618 (Crash in sp_rcontext) · c3ad0cac
      malff@lambda.hsd1.co.comcast.net. authored
      Bug 33983 (Stored Procedures: wrong end <label> syntax is accepted)
      
      The server used to crash when REPEAT or another control instruction
      was used in conjunction with labels and a LEAVE instruction.
      
      The crash was caused by a missing "pop" of handlers or cursors in the
      code representing the stored program. When executing the code in a loop,
      this missing "pop" would result in a stack overflow, corrupting memory.
      
      Code generation has been fixed to produce the missing h_pop/c_pop
      instructions.
      
      Also, the logic checking that labels at the beginning and the end of a
      statement are matched was incorrect, causing Bug 33983.
      End labels, when used, must match the label used at the beginning of a block.
      c3ad0cac
  4. 20 Jan, 2008 1 commit
  5. 19 Jan, 2008 1 commit
  6. 18 Jan, 2008 2 commits
  7. 17 Jan, 2008 1 commit
  8. 14 Jan, 2008 1 commit
    • mhansson/martin@linux-st28.site's avatar
      Bug#33143: Incorrect ORDER BY for ROUND()/TRUNCATE() result · effe27e3
      mhansson/martin@linux-st28.site authored
      The ROUND(X, D) function would change the Item::decimals field during
      execution to achieve the effect of a dynamic number of decimal digits.
      This caused a series of bugs:
      Bug #30617:Round() function not working under some circumstances in InnoDB
      Bug #33402:ROUND with decimal and non-constant cannot round to 0 decimal places
      Bug #30889:filesort and order by with float/numeric crashes server
      Fixed by never changing the number of shown digits for DECIMAL when
      used with a nonconstant number of decimal digits.
      effe27e3
  9. 12 Jan, 2008 1 commit
  10. 11 Jan, 2008 3 commits
  11. 10 Jan, 2008 5 commits
  12. 09 Jan, 2008 3 commits
  13. 08 Jan, 2008 2 commits
  14. 07 Jan, 2008 1 commit
  15. 24 Dec, 2007 1 commit
    • kaa@polly.(none)'s avatar
      Fix for bug #33305: Test case in 'skip_grants' file need dynamic loading · 578b3632
      kaa@polly.(none) authored
                          to be compiled in
      
      The problem was that on a statically built server an attempt to create
      a UDF resulted in a different, but reasonable error ("Can't open shared
      library" instead of "UDFs are unavailable with the --skip-grant-tables
      option"), which caused a failure for the test case for bug #32020.
      
      Fixed by moving the test case for bug #32020 from skip_grants.test to a
      separate test to ensure that it is only run when the server is built
      with support for dynamically loaded libraries.
      578b3632
  16. 21 Dec, 2007 3 commits
  17. 20 Dec, 2007 5 commits
  18. 19 Dec, 2007 1 commit
  19. 18 Dec, 2007 1 commit
  20. 17 Dec, 2007 3 commits