~maria-captains/maria/5.3

Viewing all changes in revision 2978.3.10.

  • Committer: Alexey Botchkov
  • Date: 2011-07-07 11:59:45 UTC
  • mto: This revision was merged to the branch mainline in revision 3288.
  • Revision ID: holyfoot@askmonty.org-20110707115945-30exog5pp59rzqto
Fix for bug #804324 Assertion 0 in Gcalc_scan_iterator::pop_suitable_intersection
        There were actually two bugs. One was when the line that intersects itself
        the intersection point treated as it doesn't belong to the line.
        Second when edges partly coincide, wrong result produced when we try to find their
        intersection.


per-file comments:
  mysql-test/r/gis-precise.result
Fix for bug #804324 Assertion 0 in Gcalc_scan_iterator::pop_suitable_intersection
        test result updated.

  mysql-test/t/gis-precise.test
Fix for bug #804324 Assertion 0 in Gcalc_scan_iterator::pop_suitable_intersection
        test case added.

  sql/gcalc_slicescan.cc
Fix for bug #804324 Assertion 0 in Gcalc_scan_iterator::pop_suitable_intersection
        skip the intersection if it just line that intersects itself.

  sql/gcalc_tools.cc
Fix for bug #804324 Assertion 0 in Gcalc_scan_iterator::pop_suitable_intersection
        if edges coincide, just pick the first coinciding poing as an intersection.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: