1. 09 Jan, 2008 3 commits
  2. 08 Jan, 2008 1 commit
    • evgen@moonbone.local's avatar
      Bug#33675: Usage of an uninitialized memory by filesort in a subquery caused · ce111a0d
      evgen@moonbone.local authored
      server crash.
      
      The filesort implementation has an optimization for subquery execution which
      consists of reusing previously allocated buffers. In particular the call to
      the read_buffpek_from_file function might be skipped when a big enough buffer
      for buffer descriptors (buffpeks) is already allocated. Beside allocating
      memory for buffpeks this function fills allocated buffer with data read from
      disk. Skipping it might led to using an arbitrary memory as fields' data and
      finally to a crash.
      
      Now the read_buffpek_from_file function is always called. It allocates
      new buffer only when necessary, but always fill it with correct data.
      ce111a0d
  3. 07 Jan, 2008 1 commit
  4. 21 Dec, 2007 1 commit
    • gkodinov/kgeorge@macbook.gmz's avatar
      Bug #33256: CREATE ... SELECT creates obsolete table · e4efb4a5
      gkodinov/kgeorge@macbook.gmz authored
       w/ Field_date instead of Field_newdate
        
      Field_date was still used in temp table creation.
      Fixed by using Field_newdate consistently throughout the server
      except when reading tables defined with older MySQL version.
      No test suite is possible because both Field_date and Field_newdate
      return the same values in all the metadata calls. 
      e4efb4a5
  5. 20 Dec, 2007 4 commits
  6. 19 Dec, 2007 1 commit
  7. 18 Dec, 2007 1 commit
  8. 17 Dec, 2007 9 commits
  9. 15 Dec, 2007 4 commits
  10. 14 Dec, 2007 2 commits
    • igor@olga.mysql.com's avatar
      Fixed bug #27848. · f25e30eb
      igor@olga.mysql.com authored
      In a union without braces, the order by at the end is applied to the 
      overall union. It therefore should not interfere with the individual
      select parts of the union.
      
      Fixed by changing our parser rules appropriately.
      f25e30eb
    • mhansson/martin@linux-st28.site's avatar
      Bug#32798: DISTINCT in GROUP_CONCAT clause fails when ordering by a column · cdeecc51
      mhansson/martin@linux-st28.site authored
      with null values
      
      For queries containing GROUP_CONCAT(DISTINCT fields ORDER BY fields), there 
      was a limitation that the DISTINCT fields had to be the same as ORDER BY 
      fields, owing to the fact that one single sorted tree was used for keeping 
      track of tuples, ordering and uniqueness. Fixed by introducing a second 
      structure to handle uniqueness so that the original structure has only to 
      order the result.
      cdeecc51
  11. 13 Dec, 2007 9 commits
  12. 12 Dec, 2007 1 commit
  13. 11 Dec, 2007 3 commits