Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3349

LP:855305 - GEOMETRYCOLLECTION EMPTY is not recognized by ASTEXT()

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 855305

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 855305

              People

              • Assignee:
                holyfoot Alexey Botchkov
                Reporter:
                philipstoev Philip Stoev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: