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

UNION ORDER BY incorrect error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 5.1.67, 5.2.14, 5.3.12, 5.5.39, 10.0.13, 10.1.0
    • 10.1.1
    • None
    • None

    Description

      In union.test we have

      --error 1054
      select a from t1 union select a from t2 order by t2.a;

      The error (ER_BAD_FIELD_ERROR) is incorrect, it should be ER_TABLENAME_NOT_ALLOWED_HERE.
      It is happens because of reading incorrect SELECT option during ORDER BY processing.

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              sanja Oleksandr Byelkin
              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.