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

ST_PointFromWKB ignores SRID parameter and returns 0

Details

    Description

      The ST_PointFromWKB() function ignores the SRID parameter and returns 0 regardless of specified SRID parameter.

      To reproduce this behavior:

      SELECT ST_SRID(ST_PointFromWKB(POINT(1,2), 4326));

      Should return 4326, but returns 0.

      If creating the point from Well Known Text instead, the SRID is preserved (expected behavior)

      SELECT ST_SRID(ST_PointFromText('POINT(1 2)', 4326))

      Returns 4326 as expected.

      Attachments

        Activity

          Transition Time In Source Status Execution Times
          Alice Sherepa made transition -
          Open Confirmed
          11h 27m 1
          Sergei Golubchik made transition -
          Confirmed In Review
          246d 6h 21m 1
          Alexey Botchkov made transition -
          In Review Stalled
          104d 23h 22m 1
          Alexey Botchkov made transition -
          Stalled Closed
          105d 13h 40m 1

          People

            holyfoot Alexey Botchkov
            ryangriggs Ryan Griggs
            Votes:
            1 Vote for this issue
            Watchers:
            8 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.