ST_ENVELOPE of GEOMETRYCOLLECTION EMPTY returns NULL and not GEOMETRYCOLLECTION EMPTY
Bug #855497 reported by
Philip Stoev
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| MariaDB |
Fix Released
|
Undecided
|
Alexey Botchkov | ||
Bug Description
in postgis:
select ST_ASTEXT(
returns GEOMETRYCOLLECTION EMPTY
in MariaDB, it returns NULL
Related branches
| Changed in maria: | |
| assignee: | nobody → Alexey Botchkov (holyfoot) |
| Changed in maria: | |
| status: | New → Fix Committed |
| Changed in maria: | |
| status: | Confirmed → Fix Committed |
| Changed in maria: | |
| status: | Fix Committed → Fix Released |
To post a comment you must log in.

This is till repeatable . In rev 3006, you have recorded a NULL in the test case:
+select ST_ASTEXT( envelope( ST_GEOMCOLLFROM TEXT('GEOMETRYC OLLECTION EMPTY'))); envelope( ST_GEOMCOLLFROM TEXT('GEOMETRYC OLLECTION EMPTY')))
+ST_ASTEXT(
+NULL