~maria-captains/maria/5.3

Viewing all changes in revision 2978.3.18.

  • Committer: Alexey Botchkov
  • Date: 2011-09-04 18:48:17 UTC
  • mto: This revision was merged to the branch mainline in revision 3288.
  • Revision ID: holyfoot@askmonty.org-20110904184817-7brksa2b3hmmzodj
bug 839341 100% CPU usage with ST_UNION in maria-5.3-gis.
    Line loops weren't recognized when collect results.
    Fixed by checking if we got the same beginning point of the line.

per-file comments:
  mysql-test/r/gis-precise.result
bug 839341 100% CPU usage with ST_UNION in maria-5.3-gis.
      test result updated.
  mysql-test/t/gis-precise.test
bug 839341 100% CPU usage with ST_UNION in maria-5.3-gis.
      test case added.
  sql/gcalc_tools.cc
bug 839341 100% CPU usage with ST_UNION in maria-5.3-gis.
      check if we get the beginning node of the linestring, then cut the loop.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: