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

ORDER BY / GROUP BY @var_name produces no error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Not a Bug
    • None
    • None
    • None
    • None

    Description

      SELECT * FROM ... LIMIT @x
      produces an error, for any @x.

      SELECT * FROM ... ORDER BY @x
      doesn't produce any error, and ORDER BY seems to do nothing.

      SELLECT * FROM ... GROUP BY @x
      doesn't produce any error, and it seems that there is a grouping, thought it seems to ignore the value of @x.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f_razzoli Federico Razzoli
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.