• Alexey Botchkov's avatar
    bug #977021 ST_BUFFER fails with the negative D. · af084bcd
    Alexey Botchkov authored
      Points and lines should disappear if we got negative D.
      To make it work properly inside the GEOMETRYCOLLECTION,
      we add the empty operation there.
    
    bug #986977 Assertion `!cur_p->event' failed in Gcalc_scan_iterator::arrange_event(int, int).
      The double->inernal coord conversion produced -0 (minus zero) on some data.
      That minus-zero produces invalid comparison results when compared agains plus-zero.
      So we fixed the gcalc_set_double() to avoid it.
    
    per-file comments:
      mysql-test/r/gis-precise.result
            result updated.
      mysql-test/t/gis-precise.test
            tests for #977021 and #986977 added.
      sql/gcalc_slicescan.cc
            bug #986977. The gcalc_set_double fixed to not produce minus-zero.
      sql/item_geofunc.cc
            bug #977021. Add the NOOP for the disappearing features.
    af084bcd
gis-precise.test 20.2 KB