summaryrefslogtreecommitdiff
path: root/mysql-test/t/gis.test
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2011-09-21 09:29:37 +0500
committerAlexey Botchkov <holyfoot@askmonty.org>2011-09-21 09:29:37 +0500
commit25b5019c34e717aff95bf405e7d5eb15c2bedf75 (patch)
tree8bb2999f4be55900e1867c61973614f05bfff80b /mysql-test/t/gis.test
parent0249413a6ae4a5900b51f434b361b9efa6133ad1 (diff)
downloadmariadb-git-25b5019c34e717aff95bf405e7d5eb15c2bedf75.tar.gz
bugs fixed
855253 Compiler error: gcalc_slicescan.cc:2036: error: suggest parentheses around comparison in operand of .|. in maria-5.3-gis 850775 ST_AREA does not work on GEOMETRYCOLLECTIONs in maria-5.3-gis per-file comments: mysql-test/r/gis.result test result updated. mysql-test/t/gis.test test case added for 850775. sql/gcalc_slicescan.cc compiler error fixed. sql/spatial.cc ST_AREA implementation for GEOMETRY_COLLECTION, POINT and LINESTRING. sql/spatial.h area() declarations added.
Diffstat (limited to 'mysql-test/t/gis.test')
-rw-r--r--mysql-test/t/gis.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test
index 25fec4cca4e..359d0e8520a 100644
--- a/mysql-test/t/gis.test
+++ b/mysql-test/t/gis.test
@@ -804,6 +804,11 @@ CREATE TABLE t3 (
DROP TABLE t1;
DROP TABLE t2;
+#bug 850775 ST_AREA does not work on GEOMETRYCOLLECTIONs in maria-5.3-gis
+select ST_AREA(ST_GEOMCOLLFROMTEXT(' GEOMETRYCOLLECTION(LINESTRING(100 100, 31 10, 77 80), POLYGON((0 0,4 7,1 1,0 0)), POINT(20 20))'));
+
+
+
# Conformance tests
#
# C.3.3 Geometry types and functions