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

User variable not parsed as geometry variable in geometry function

    XMLWordPrintable

Details

    Description

      Repeatable with

      set @g=  point(1, 1); 
      select ST_AsWKT(GeometryCollection(Point(44, 6), @g));
       
      ERROR 1367 (22007) at line 1: Illegal non geometric '@`g`' value found during parsing
      

      The same bug exists in MySQL 8.0 with slightly different error message (note braces).

      ERROR 1367 (22007) at line 1: Illegal non geometric '(@`g`)' value found during parsing
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              anel Anel Husakovic
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 6d 1.5h
                  6d 1.5h

                  Git Integration

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