1. 10 Jan, 2008 1 commit
  2. 09 Jan, 2008 3 commits
  3. 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
  4. 07 Jan, 2008 1 commit
  5. 24 Dec, 2007 1 commit
    • kaa@polly.(none)'s avatar
      Fix for bug #33305: Test case in 'skip_grants' file need dynamic loading · 578b3632
      kaa@polly.(none) authored
                          to be compiled in
      
      The problem was that on a statically built server an attempt to create
      a UDF resulted in a different, but reasonable error ("Can't open shared
      library" instead of "UDFs are unavailable with the --skip-grant-tables
      option"), which caused a failure for the test case for bug #32020.
      
      Fixed by moving the test case for bug #32020 from skip_grants.test to a
      separate test to ensure that it is only run when the server is built
      with support for dynamically loaded libraries.
      578b3632
  6. 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
  7. 20 Dec, 2007 4 commits
  8. 19 Dec, 2007 1 commit
  9. 18 Dec, 2007 1 commit
  10. 17 Dec, 2007 9 commits
  11. 15 Dec, 2007 4 commits
  12. 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
  13. 13 Dec, 2007 9 commits
  14. 12 Dec, 2007 1 commit
  15. 11 Dec, 2007 1 commit