GIS functions return "GEOMETRYCOLLECTION()" instead of "GEOMETRYCOLLECTION EMPTY"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Undecided
|
Alexey Botchkov |
Bug Description
MariaDB [test]> select astext(
*******
astext(
1 row in set (0.00 sec)
GEOMETRYCOLLECT
Also, trying to use GEOMETRYCOLLECT
MariaDB [test]> SELECT ASTEXT(
*******
ASTEXT(
Related branches
Changed in maria: | |
assignee: | nobody → Alexey Botchkov (holyfoot) |
Changed in maria: | |
status: | New → Fix Committed |
Changed in maria: | |
status: | Fix Committed → Fix Released |
Same applies for other functions, e.g.
select ASTEXT( ST_DIFFERENCE( MULTIPOLYGONFRO MTEXT(' MULTIPOLYGON( ( (3 5, 2 5, 2 4, 3 4, 3 5) ) ) ') , POLYGONFROMTEXT(' POLYGON( (3 5, 2 5, 2 4, 3 4, 3 5) ) ') )) ;