1. 02 Jun, 2007 5 commits
    • igor@olga.mysql.com's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.0-opt · 55fea25d
      igor@olga.mysql.com authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug28728
      55fea25d
    • evgen@moonbone.local's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 294ead9a
      evgen@moonbone.local authored
      into  moonbone.local:/mnt/gentoo64/work/test-5.0-opt-mysql
      294ead9a
    • evgen@moonbone.local's avatar
      Bug#28494: Grouping by Item_func_set_user_var produces incorrect result. · 49346467
      evgen@moonbone.local authored
      This is an additional fix.
      Item::val_xxx methods are supposed to use original data source and
      Item::val_xxx_result methods to use the item's result field. But for the
      Item_func_set_user_var class val_xxx_result methods were mapped to val_xxx
      methods. This leads, in particular, to producing bad sort keys and thus
      wrong order of the result set of queries with group by/order by clauses.
      
      The set of val_xxx_result methods is added to the Item_func_set_user_var
      class. It's the same as the val_xxx set of method but uses the result_field
      to return a value.
      49346467
    • igor@olga.mysql.com's avatar
      Fixed bug #28728: a crash when executing EXPLAIN EXTENDED for a query · 5cbebf0a
      igor@olga.mysql.com authored
      using a derived table over a grouping subselect.
      
      This crash happens only when materialization of the derived tables 
      requires creation of auxiliary temporary table, for example when
      a grouping operation is carried out with usage of a temporary table.
      
      The crash happened because EXPLAIN EXTENDED when printing the query
      expression made an attempt to use the objects created in the mem_root
      of the temporary table which has been already freed by the moment
      when printing is called.
      
      This bug appeared after the method Item_field::print() had been 
      introduced.    
      5cbebf0a
    • igor@olga.mysql.com's avatar
      Post-merge fix. · 5a5410e4
      igor@olga.mysql.com authored
      5a5410e4
  2. 01 Jun, 2007 6 commits
  3. 31 May, 2007 14 commits
  4. 30 May, 2007 15 commits