1. 28 Jan, 2008 1 commit
    • davi@mysql.com/endora.local's avatar
      Bug#30331 Table_locks_waited shows inaccurate values · ef3200f7
      davi@mysql.com/endora.local authored
      The problem is that the Table_locks_waited was incremented only
      when the lock request succeed. If a thread waiting for the lock
      gets killed or the lock request is aborted, the variable would
      not be incremented, leading to inaccurate values in the variable.
      
      The solution is to increment the Table_locks_waited whenever the
      lock request is queued. This reflects better the intended behavior
      of the variable -- show how many times a lock was waited.
      ef3200f7
  2. 24 Jan, 2008 4 commits
  3. 23 Jan, 2008 5 commits
  4. 20 Jan, 2008 2 commits
  5. 19 Jan, 2008 7 commits
  6. 18 Jan, 2008 2 commits
  7. 17 Jan, 2008 3 commits
  8. 16 Jan, 2008 1 commit
  9. 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
  10. 12 Jan, 2008 1 commit
  11. 11 Jan, 2008 13 commits