diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2013-03-19 17:25:58 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2013-03-19 17:25:58 +0400 |
commit | ef737284b416292d21837d7dedbffe66a4b4b8d4 (patch) | |
tree | c77400e611abf248540eef6fb67772b2c8c8a653 /mysql-test/t/gis.test | |
parent | 15a7335d77d056e860a9fdc844343c840e310e68 (diff) | |
download | mariadb-git-ef737284b416292d21837d7dedbffe66a4b4b8d4.tar.gz |
MDEV-4295 Server crashes in get_point on a query with Area, AsBinary, MultiPoint.
Need to check if the number of points is 0 for the polygon.
Diffstat (limited to 'mysql-test/t/gis.test')
-rw-r--r-- | mysql-test/t/gis.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test index b8cce077e3e..698b9455da3 100644 --- a/mysql-test/t/gis.test +++ b/mysql-test/t/gis.test @@ -839,4 +839,9 @@ select geometryn(0x0100000000070000000100000001030000000200000000000000ffffff0f, --echo # SELECT Centroid( AsBinary( LineString(Point(0,0), Point(0,0), Point(0,0) ))); + +--echo # +--echo # MDEV-4295 Server crashes in get_point on a query with Area, AsBinary, MultiPoint +--echo # +SELECT Area(AsBinary(MultiPoint(Point(0,9), Point(0,1), Point(2,2)))); --echo End of 5.1 tests |