diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2011-07-12 11:21:20 +0500 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2011-07-12 11:21:20 +0500 |
commit | e7c9f52fd960440614c30c3f852bf74f1febe6b3 (patch) | |
tree | dcc91ea14246ff163baf7f51f5448531f96e7c02 /sql/item_geofunc.cc | |
parent | 67e937095cec8aa922ff3ea971204d59ee3047ff (diff) | |
download | mariadb-git-e7c9f52fd960440614c30c3f852bf74f1febe6b3.tar.gz |
Fix for bug #801217 Assertion `t1->result_range' in Gcalc_operation_reducer::end_couple.
We cannot cut a line from a polygon. So if the polygon fits the condition, and
the intersection of a line and the polygon doesn't, we just skip the line.
That rule wasn't applied if the line start was inside the polygon, which leaded
to the assertion.
per-file comments:
mysql-test/r/gis-precise.result
Fix for bug #801217 Assertion `t1->result_range' in Gcalc_operation_reducer::end_couple.
test result updated.
mysql-test/t/gis-precise.test
Fix for bug #801217 Assertion `t1->result_range' in Gcalc_operation_reducer::end_couple.
test case added.
sql/gcalc_tools.cc
Fix for bug #801217 Assertion `t1->result_range' in Gcalc_operation_reducer::end_couple.
Don't mark the line as a border if it's inside a polygon that fits the result condition.
Diffstat (limited to 'sql/item_geofunc.cc')
0 files changed, 0 insertions, 0 deletions