1. 03 Mar, 2007 1 commit
    • evgen@sunlight.local's avatar
      Bug#25126: Wrongly resolved field leads to a crash. · 629c1231
      evgen@sunlight.local authored
      When the ORDER BY clause gets fixed it's allowed to search in the current
      item_list in order to find aliased fields and expressions. This is ok for a
      SELECT but wrong for an UPDATE statement. If the ORDER BY clause will
      contain a non-existing field which is mentioned in the UPDATE set list
      then the server will crash due to using of non-existing (0x0) field.
      
      When an Item_field is getting fixed it's allowed to search item list for
      aliased expressions and fields only for selects.
      629c1231
  2. 13 Feb, 2007 2 commits
  3. 12 Feb, 2007 4 commits
  4. 08 Feb, 2007 2 commits
  5. 07 Feb, 2007 1 commit
  6. 06 Feb, 2007 8 commits
  7. 05 Feb, 2007 2 commits
  8. 02 Feb, 2007 5 commits
  9. 01 Feb, 2007 7 commits
  10. 31 Jan, 2007 7 commits
  11. 30 Jan, 2007 1 commit
    • igor@olga.mysql.com's avatar
      Fixed bug #24987. · 60ac1f1b
      igor@olga.mysql.com authored
      Made the function opt_sum_query to return HA_ERR_KEY_NOT_FOUND when
      no matches were found (instead of -1 it returned prior this patch).
      This changes allow us to avoid possible conflicts with return values
      from user-defined handler methods which also may return -1. 
      No particular test cases are provided with this fix.
      60ac1f1b