~maria-captains/maria/5.3

Viewing all changes in revision 2978.3.20.

  • Committer: Alexey Botchkov
  • Date: 2011-09-05 04:49:46 UTC
  • mto: This revision was merged to the branch mainline in revision 3288.
  • Revision ID: holyfoot@askmonty.org-20110905044946-2221zpr24073ub8g
bug 839327 Crash in Gcalc_operation_reducer::end_couple with ST_UNION and MULTIPOLYGONs in 5.3-gis.
        When edges of a polygon coicide, it can form an pike, that is turned into a line after an operation.
        In this case a former polygon point can be an end of a single line, and that case wasn't properly handled.


per-file comments:
  mysql-test/r/gis-precise.result
bug 839327 Crash in Gcalc_operation_reducer::end_couple with ST_UNION and MULTIPOLYGONs in 5.3-gis.
        test result updated.

  mysql-test/t/gis-precise.test
bug 839327 Crash in Gcalc_operation_reducer::end_couple with ST_UNION and MULTIPOLYGONs in 5.3-gis.
        test case added.

  sql/gcalc_tools.cc
bug 839327 Crash in Gcalc_operation_reducer::end_couple with ST_UNION and MULTIPOLYGONs in 5.3-gis.
        in the scev_two_ends case check if we have single line ending on a polygon node.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: