GEOMETRYCOLLECTION EMPTY is not recognized by ASTEXT()

Bug #855305 reported by Philip Stoev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Released
Undecided
Alexey Botchkov

Bug Description

MariaDB [test]> SELECT ASTEXT(GEOMETRYFROMTEXT('GEOMETRYCOLLECTION EMPTY'));
+------------------------------------------------------+
| ASTEXT(GEOMETRYFROMTEXT('GEOMETRYCOLLECTION EMPTY')) |
+------------------------------------------------------+
| NULL |
+------------------------------------------------------+
1 row in set (0.00 sec)

whereas one would expect "GEOMETRYCOLLECTION EMPTY" to be returned if GEOMETRYFROMTEXT() and ASTEXT() are mirror functions.

 bzr version-info
revision-id: <email address hidden>
date: 2011-09-21 09:29:37 +0500
build-date: 2011-09-21 10:52:23 +0300
revno: 3003
branch-nick: maria-5.3-gis

Changed in maria:
assignee: nobody → Alexey Botchkov (holyfoot)
Changed in maria:
status: New → Fix Committed
Changed in maria:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.