summaryrefslogtreecommitdiff
path: root/mysql-test/r/gis.result
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2013-03-19 17:16:10 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2013-03-19 17:16:10 +0400
commit15a7335d77d056e860a9fdc844343c840e310e68 (patch)
tree7d74d47ba9109a7a33d61a7c3a232a97c016252e /mysql-test/r/gis.result
parent2cd7cf8fe6fa41fca124c9239468fc22f8df9957 (diff)
downloadmariadb-git-15a7335d77d056e860a9fdc844343c840e310e68.tar.gz
MDEV-4296 Assertion `n_linear_rings > 0' fails in Gis_polygon::centroid_xy.
Forgotten DBUG_ASSERT should be replaced with the 'return error'.
Diffstat (limited to 'mysql-test/r/gis.result')
-rw-r--r--mysql-test/r/gis.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/gis.result b/mysql-test/r/gis.result
index 7566f0beb8c..6ea977d5bfd 100644
--- a/mysql-test/r/gis.result
+++ b/mysql-test/r/gis.result
@@ -1102,4 +1102,10 @@ NULL
select geometryn(0x0100000000070000000100000001030000000200000000000000ffffff0f, 1);
geometryn(0x0100000000070000000100000001030000000200000000000000ffffff0f, 1)
NULL
+#
+# MDEV-4296 Assertion `n_linear_rings > 0' fails in Gis_polygon::centroid_xy
+#
+SELECT Centroid( AsBinary( LineString(Point(0,0), Point(0,0), Point(0,0) )));
+Centroid( AsBinary( LineString(Point(0,0), Point(0,0), Point(0,0) )))
+NULL
End of 5.1 tests