~kazuhiko/maria/5.3-groonga

Viewing all changes in revision 3338.

  • Committer: Alexey Botchkov
  • Date: 2011-12-08 12:29:45 UTC
  • Revision ID: holyfoot@askmonty.org-20111208122945-24yngitcnjzaedwv
bug #901655 ST_BUFFER asserts with a coplicated shape.
        Coinciding nodes can appear as a result of DOUBLE inaccuracy.
        We should test that before we start the loop.

        Also the spatial relations can be calculated faster if we check
        MBR relations first. And we do have the shape's MBR-s now.

per-file comments:
  sql/gcalc_slicescan.cc
        set_extent() method added.
bug #901655 ST_BUFFER asserts with a coplicated shape.
  sql/gcalc_slicescan.h
        set_extent() method declared.
bug #901655 ST_BUFFER asserts with a coplicated shape.
  sql/gcalc_tools.cc
bug #901655 ST_BUFFER asserts with a coplicated shape.
        checks for equal nodes added.
  sql/item_geofunc.cc
bug #901655 ST_BUFFER asserts with a coplicated shape.
        MBR for the shapes calculated, and MBR checks added before we
        start the heavy calculations.
  sql/spatial.h
bug #901655 ST_BUFFER asserts with a coplicated shape.
        MBR::buffer() method implemented.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: