1. 19 Mar, 2008 5 commits
  2. 18 Mar, 2008 1 commit
  3. 14 Mar, 2008 1 commit
  4. 13 Mar, 2008 2 commits
  5. 12 Mar, 2008 10 commits
  6. 11 Mar, 2008 3 commits
  7. 10 Mar, 2008 6 commits
  8. 08 Mar, 2008 3 commits
  9. 07 Mar, 2008 5 commits
  10. 06 Mar, 2008 2 commits
    • sergefp@pslp.mylan's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · f883250f
      sergefp@pslp.mylan authored
      into  mysql.com:/home/psergey/mysql-5.0-bug34945
      f883250f
    • kaa@kaamos.(none)'s avatar
      Fix for bug #34512: CAST( AVG( double ) AS DECIMAL ) · 4ca61aa3
      kaa@kaamos.(none) authored
                          returns wrong results
      
      Casting AVG() to DECIMAL led to incorrect results when the arguments
      had a non-DECIMAL type, because in this case
      Item_sum_avg::val_decimal() performed the division by the number of
      arguments twice.
      
      Fixed by changing Item_sum_avg::val_decimal() to not rely on
      Item_sum_sum::val_decimal(), i.e. calculate sum and divide using
      DECIMAL arithmetics for DECIMAL arguments, and utilize val_real() with
      subsequent conversion to DECIMAL otherwise.
      4ca61aa3
  11. 05 Mar, 2008 1 commit
    • kaa@kaamos.(none)'s avatar
      Fix for bug #34889: mysql_client_test::test_mysql_insert_id test fails · 80d89023
      kaa@kaamos.(none) authored
                          sporadically
      
      Under some circumstances, the mysql_insert_id() value after SELECT ...
      INSERT could return a wrong value. This could happen when the last
      SELECT ... INSERT did not involve an AUTO_INCREMENT column, but the
      value of mysql_insert_id() was changed by some previous statements.
      
      Fixed by checking the value of thd->insert_id_used in
      select_insert::send_eof() and returning 0 for mysql_insert_id() if it
      is not set.
      80d89023
  12. 03 Mar, 2008 1 commit