1. 28 Mar, 2007 23 commits
  2. 27 Mar, 2007 7 commits
  3. 26 Mar, 2007 6 commits
  4. 24 Mar, 2007 1 commit
    • unknown's avatar
      Bug #24588: "MBROverlaps missing in 5.1?" · 7b86a21e
      unknown authored
      The MBR-prefixed function aliases (e.g., MBROVERLAPS()) were missing in 5.1, after
      some code refactoring left them out.  This simply adds them into the func_array list.
      
      
      sql/item_create.cc:
        Add MBR* functions to func_array[]; the non-MBR-prefixed aliases were already there
      7b86a21e
  5. 23 Mar, 2007 3 commits
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/maint/bmisc/50 · 68dbbe1d
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/maint/bmisc/51
      
      
      mysql-test/include/gis_generic.inc:
        Auto merged
      mysql-test/r/archive_gis.result:
        Auto merged
      BitKeeper/deleted/.del-bdb_gis.result:
        Auto merged
      mysql-test/r/ndb_gis.result:
        Auto merged
      sql/spatial.h:
        Auto merged
      mysql-test/r/gis.result:
        Manual merge
      mysql-test/r/innodb_gis.result:
        Manual merge
      mysql-test/t/gis.test:
        Manual merge
      68dbbe1d
    • unknown's avatar
      bug#26346 · 5e3de6a8
      unknown authored
      Fix to a memory leak found by a complier warning.
      
      5e3de6a8
    • unknown's avatar
      Bug #24563: MBROverlaps does not seem to function propertly. · f4e55b05
      unknown authored
      Fix is to rewrite the MBR::overlaps() function, to compute the dimension of both
      arguments, and the dimension of the intersection; test that all three dimensions are the
      same (e.g., all are Polygons).
      
      Add tests for all MBR* functions for various combinations of shapes, lines and points.
      
      
      mysql-test/include/gis_generic.inc:
        Add tests & checks for bug #24563 and bug #24588 - some GIS functions missing in
        5.1; many GIS functions not tested; Overlaps() function was incorrect when MBR shifted
        only along one axis; Overlaps() needs to take dimension of shape into account.
      mysql-test/r/archive_gis.result:
        Update test results.
      mysql-test/r/bdb_gis.result:
        Update test results.
      mysql-test/r/gis.result:
        Update test results.
      mysql-test/r/innodb_gis.result:
        Update test results.
      mysql-test/r/ndb_gis.result:
        Update test results.
      mysql-test/t/gis.test:
        Add tests & checks for bug #24563 and bug #24588 - some GIS functions missing in
        5.1; many GIS functions not tested; Overlaps() function was incorrect when MBR shifted
        only along one axis; Overlaps() needs to take dimension of shape into account.
      sql/spatial.h:
        Add MBR::dimension() (map MBR to integral dimension: point -> 0, line -> 1,
        polygon -> 2, invalid -> -1)
        
        Fix MBR::overlaps() to handle MBRs which are shifted on one dimension only, and to
        take MBR dimension into account.  Also, test both within() and contains() predicates (so
        that overlaps(a, b) == overlaps(b, a)).
      f4e55b05