1. 09 Feb, 2011 1 commit
    • MySQL Build Team's avatar
      Backport into build-201102032246-5.1.52sp1 · f5f5716a
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3545
      > revision-id: holyfoot@mysql.com-20110112130241-50lwmhq562otxw31
      > parent: dmitry.lenev@oracle.com-20110112130830-csanweanbny2ua3n
      > committer: Alexey Botchkov <holyfoot@mysql.com>
      > branch nick: 51mrg
      > timestamp: Wed 2011-01-12 17:02:41 +0400
      > message:
      >   Bug #57321 crashes and valgrind errors from spatial types 
      >           Item_func_spatial_collection::fix_length_and_dec didn't call parent's method, so
      >           the maybe_null was set to '0' after it. But in this case the result was
      >           just NULL, that caused wrong behaviour.
      >   
      >   per-file comments:
      >     mysql-test/r/gis.result
      >   Bug #57321 crashes and valgrind errors from spatial types 
      >           test result updated.
      >   
      >     mysql-test/t/gis.test
      >   Bug #57321 crashes and valgrind errors from spatial types 
      >           test case added.
      >     sql/item_geofunc.h
      >   Bug #57321 crashes and valgrind errors from spatial types 
      >           Item_func_geometry::fix_length_and_dec() called in
      >           Item_func_spatial_collection::fix_length_and_dec().
      f5f5716a
  2. 25 Jan, 2011 1 commit
  3. 12 Jan, 2011 1 commit
    • Alexey Botchkov's avatar
      Bug #57321 crashes and valgrind errors from spatial types · e073e2c0
      Alexey Botchkov authored
              Item_func_spatial_collection::fix_length_and_dec didn't call parent's method, so
              the maybe_null was set to '0' after it. But in this case the result was
              just NULL, that caused wrong behaviour.
      
      per-file comments:
        mysql-test/r/gis.result
      Bug #57321 crashes and valgrind errors from spatial types 
              test result updated.
      
        mysql-test/t/gis.test
      Bug #57321 crashes and valgrind errors from spatial types 
              test case added.
        sql/item_geofunc.h
      Bug #57321 crashes and valgrind errors from spatial types 
              Item_func_geometry::fix_length_and_dec() called in
              Item_func_spatial_collection::fix_length_and_dec().
      e073e2c0
  4. 09 Sep, 2010 1 commit
  5. 07 Sep, 2010 1 commit
    • Kristofer Pettersson's avatar
      Bug#55531 crash with conversions of geometry types / strings · 5caea4a9
      Kristofer Pettersson authored
      Convertion from a floating point number to a string caused a
      crash.
      
      During rare circumstances a String object could crash when
      it was requested to allocate new memory.
      A crash could occcur in Field_double::val_str() because of
      a pointer referencing memory inside a String object which was
      of unknown size.
      And finally, the geometric collection should not accept
      arguments which are non geometric.
      5caea4a9
  6. 22 Feb, 2008 1 commit
    • anozdrin/alik@quad.'s avatar
      Fix for Bug#30217: Views: changes in metadata behaviour · 340906f4
      anozdrin/alik@quad. authored
      between 5.0 and 5.1.
        
      The problem was that in the patch for Bug#11986 it was decided
      to store original query in UTF8 encoding for the INFORMATION_SCHEMA.
      This approach however turned out to be quite difficult to implement
      properly. The main problem is to preserve the same IS-output after
      dump/restore.
        
      So, the fix is to rollback to the previous functionality, but also
      to fix it to support multi-character-set-queries properly. The idea
      is to generate INFORMATION_SCHEMA-query from the item-tree after
      parsing view declaration. The IS-query should:
        - be completely in UTF8;
        - not contain character set introducers.
        
      For more information, see WL4052.
      340906f4
  7. 04 Oct, 2007 1 commit
    • holyfoot/hf@mysql.com/hfmain.(none)'s avatar
      Bug #31155 gis types in union'd select cause crash. · 16db036d
      holyfoot/hf@mysql.com/hfmain.(none) authored
      We use get_geometry_type() call to decide the exact type
      of a geometry field to be created (POINT, POLYGON etc)
      Though this function was only implemented for few items.
      In the bug's case we need to call this function for the
      Item_sum instance, where it was not implemented, what is
      the reason of the crash.
      Fixed by implementing virtual Item::get_geometry_type(),
      so it can be called for any Item.
      16db036d
  8. 21 Feb, 2007 1 commit
  9. 23 Dec, 2006 1 commit
  10. 02 Nov, 2006 1 commit
  11. 04 Jul, 2006 1 commit
  12. 22 Jun, 2006 1 commit
  13. 04 May, 2005 1 commit
  14. 11 Nov, 2004 1 commit
  15. 22 Sep, 2004 1 commit
  16. 04 Mar, 2004 1 commit
  17. 15 Jan, 2004 1 commit
    • hf@deer.(none)'s avatar
      SCRUM: · 6dcda515
      hf@deer.(none) authored
      WL#1163 (Making spatial code optional)
      Pack of changes to do in sql/ code.
      6dcda515
  18. 06 Nov, 2003 1 commit
  19. 12 Oct, 2003 1 commit
  20. 21 Aug, 2003 1 commit
  21. 20 Jun, 2003 1 commit
  22. 30 May, 2003 1 commit