ST_LENGTH does not work on GEOMETRYCOLLECTIONs

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

Bug Description

SELECT ST_LENGTH(ST_GEOMCOLLFROMTEXT('GEOMETRYCOLLECTION(
LINESTRING(1 0, 4 1),
LINESTRING(8 1, 4 1))'));

returns NULL even though if GEOMETRYCOLLECTION was replaced with a MULTILINESTRING, an integer is returned.

bzr version-info
revision-id: <email address hidden>
date: 2011-09-21 09:29:37 +0500
build-date: 2011-09-21 11:19:55 +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.