summaryrefslogtreecommitdiff
path: root/mysql-test/t/gis.test
diff options
context:
space:
mode:
authorram@mysql.r18.ru <>2003-03-06 16:25:06 +0400
committerram@mysql.r18.ru <>2003-03-06 16:25:06 +0400
commit3286c2d5f2c6e04bf7b9531222168168856f20e8 (patch)
tree0fde70fc259ae0acd63f533e4d28ad69efced466 /mysql-test/t/gis.test
parent8243eeeefc865db1f953bcf9ff9496fa7f420201 (diff)
downloadmariadb-git-3286c2d5f2c6e04bf7b9531222168168856f20e8.tar.gz
Added IsClosed() tests for MultiLineString objects.
Added Centroid(), Area() tests for MultiPolygon objects.
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 128d369b0b6..35bb682f732 100644
--- a/mysql-test/t/gis.test
+++ b/mysql-test/t/gis.test
@@ -89,6 +89,11 @@ SELECT fid, AsText(ExteriorRing(g)) FROM p;
SELECT fid, NumInteriorRings(g) FROM p;
SELECT fid, AsText(InteriorRingN(g, 1)) FROM p;
+SELECT fid, IsClosed(g) FROM mls;
+
+SELECT fid, AsText(Centroid(g)) FROM mp;
+SELECT fid, Area(g) FROM mp;
+
SELECT fid, NumGeometries(g) from mpt;
SELECT fid, NumGeometries(g) from mls;
SELECT fid, NumGeometries(g) from mp;