1. 24 Oct, 2007 1 commit
    • gkodinov/kgeorge@magare.gmz's avatar
      Bug #30715: Assertion failed: item_field->field->real_maybe_null(), · 54cea400
      gkodinov/kgeorge@magare.gmz authored
        file .\opt_sum.cc, line
      The optimizer pre-calculates the MIN/MAX values for queries like
       SELECT MIN(kp_k) WHERE kp_1 = const AND ... AND kp_k-1 = const
      when there is a key over kp_1...kp_k
      In doing so it was not checking correctly nullability and 
      there was a superfluous assert(). 
      Fixed by making sure that the field can be null before checking and
      taking out the wrong assert().
      .
      Introduced a correct check for nullability 
      The MIN(field) can return NULL when all the row values in the group
      are NULL-able or if there were no rows.
      Fixed the assertion to reflect the case when there are no rows.
      54cea400
  2. 17 Oct, 2007 1 commit
  3. 16 Oct, 2007 1 commit
  4. 15 Oct, 2007 2 commits
  5. 14 Oct, 2007 1 commit
  6. 13 Oct, 2007 2 commits
  7. 12 Oct, 2007 3 commits
  8. 11 Oct, 2007 3 commits
  9. 10 Oct, 2007 4 commits
  10. 09 Oct, 2007 5 commits
  11. 08 Oct, 2007 1 commit
    • gkodinov/kgeorge@magare.gmz's avatar
      Bug #31156: mysqld: item_sum.cc:918: virtual bool · 67302b12
      gkodinov/kgeorge@magare.gmz authored
        Item_sum_distinct::setup(THD*): Assertion
      
      There was an assertion to detect a bug in ROLLUP
      implementation. However the assertion is not true
      when used in a subquery context with non-cacheable
      statements.
      Fixed by turning the assertion to accepted case
      (just like it's done for the other aggregate functions). 
      67302b12
  12. 07 Oct, 2007 1 commit
  13. 05 Oct, 2007 10 commits
  14. 04 Oct, 2007 5 commits