• Alexey Botchkov's avatar
    Fix for bug #804259 Second assertion in Gis_geometry_collection::init_from_opresult. · 67e93709
    Alexey Botchkov authored
            A polygon has no right to have holes that are actually points.
            So just skip them when we collect the result of an operation.
    
    per-file comments:
      mysql-test/r/gis-precise.result
    Fix for bug #804259 Second assertion in Gis_geometry_collection::init_from_opresult.
            test result updated.
      mysql-test/t/gis-precise.test
    Fix for bug #804259 Second assertion in Gis_geometry_collection::init_from_opresult.
            test case added.
      sql/gcalc_tools.cc
    Fix for bug #804259 Second assertion in Gis_geometry_collection::init_from_opresult.
            Skip the point in the result if it's the hole inside a polygon.
    67e93709
gis-precise.result 37.6 KB