Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.1.67, 5.2.14, 5.3.12, 5.5.39, 10.0.13, 10.1.0
    • Fix Version/s: 10.1.1
    • Component/s: None
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              sanja Oleksandr Byelkin added a comment - - edited

              Fixed as part of MDEV-334 patch. (the fix passed to Igor)

              Show
              sanja Oleksandr Byelkin added a comment - - edited Fixed as part of MDEV-334 patch. (the fix passed to Igor)

                People

                • Assignee:
                  sanja Oleksandr Byelkin
                  Reporter:
                  sanja Oleksandr Byelkin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: