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

Simple query with extra brackets stopped working

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.4
    • Fix Version/s: 10.4.5
    • Component/s: Parser
    • Labels:
      None

      Description

      SELECT * FROM ( mysql.db );
      

      It works on 10.3, but throws a syntax error on 10.4:

      query 'SELECT * FROM ( mysql.db )' failed: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
      

      I don't know if it's intentional.

        Attachments

          Activity

            People

            • Assignee:
              igor Igor Babaev
              Reporter:
              elenst Elena Stepanova
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: