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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • None
    • None
    • None

    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

      Attachments

        Activity

          People

            holyfoot Alexey Botchkov
            philipstoev Philip Stoev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.