diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-03-26 19:09:47 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-03-26 19:09:47 +0100 |
commit | e308d7417bc4ceb1b3b72cac2642015b88f310ff (patch) | |
tree | 2b840dabe2a4581c45e9ec7e14669b2b5558a42a /mysql-test/r/gis.result | |
parent | 045c498691f77ac8e0d8c8b9b705325b3425c69d (diff) | |
parent | 48be80cd95c9121d2730ebcd1df2a1a37fe73f3d (diff) | |
download | mariadb-git-e308d7417bc4ceb1b3b72cac2642015b88f310ff.tar.gz |
5.2 merge
Diffstat (limited to 'mysql-test/r/gis.result')
-rw-r--r-- | mysql-test/r/gis.result | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mysql-test/r/gis.result b/mysql-test/r/gis.result index d84ec1d7480..6c4d117042a 100644 --- a/mysql-test/r/gis.result +++ b/mysql-test/r/gis.result @@ -1108,6 +1108,33 @@ NULL # SELECT GEOMETRYCOLLECTION((SELECT @@OLD)); ERROR 22007: Illegal non geometric '' value found during parsing +# +# MDEV-4252 geometry query crashes server +# +select astext(0x0100000000030000000100000000000010); +astext(0x0100000000030000000100000000000010) +NULL +select envelope(0x0100000000030000000100000000000010); +envelope(0x0100000000030000000100000000000010) +NULL +select geometryn(0x0100000000070000000100000001030000000200000000000000ffff0000, 1); +geometryn(0x0100000000070000000100000001030000000200000000000000ffff0000, 1) +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 +# +# MDEV-4295 Server crashes in get_point on a query with Area, AsBinary, MultiPoint +# +SELECT Area(AsBinary(MultiPoint(Point(0,9), Point(0,1), Point(2,2)))); +Area(AsBinary(MultiPoint(Point(0,9), Point(0,1), Point(2,2)))) +NULL End of 5.1 tests 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))')); ST_AREA(ST_GEOMCOLLFROMTEXT(' GEOMETRYCOLLECTION(LINESTRING(100 100, 31 10, 77 80), POLYGON((0 0,4 7,1 1,0 0)), POINT(20 20))')) |