[MDEV-3517] LP:855497 - ST_ENVELOPE of GEOMETRYCOLLECTION EMPTY returns NULL and not GEOMETRYCOLLECTION EMPTY Created: 2011-09-21  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Philip Stoev (Inactive) Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug855497.xml    

 Description   

in postgis:

select ST_ASTEXT(envelope(ST_GEOMCOLLFROMTEXT('GEOMETRYCOLLECTION EMPTY')));

returns GEOMETRYCOLLECTION EMPTY

in MariaDB, it returns NULL



 Comments   
Comment by Philip Stoev (Inactive) [ 2011-09-23 ]

Re: ST_ENVELOPE of GEOMETRYCOLLECTION EMPTY returns NULL and not GEOMETRYCOLLECTION EMPTY
This is till repeatable . In rev 3006, you have recorded a NULL in the test case:

+select ST_ASTEXT(envelope(ST_GEOMCOLLFROMTEXT('GEOMETRYCOLLECTION EMPTY')));
+ST_ASTEXT(envelope(ST_GEOMCOLLFROMTEXT('GEOMETRYCOLLECTION EMPTY')))
+NULL

Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ]

Launchpad bug id: 855497

Generated at Thu Feb 08 06:49:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.