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

Simple query with extra brackets stopped working

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.4(EOL)
    • 10.4.5
    • Parser
    • 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

          elenst Elena Stepanova created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Description {code:sql}
          SELECT * FROM ( mysql.user );
          {code}

          It works on 10.3, but throws a syntax error on 10.4:
          {noformat}
          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
          {noformat}

          I don't know if it's intentional.
          {code:sql}
          SELECT * FROM ( mysql.db );
          {code}

          It works on 10.3, but throws a syntax error on 10.4:
          {noformat}
          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
          {noformat}

          I don't know if it's intentional.
          sanja Oleksandr Byelkin made changes -
          Assignee Oleksandr Byelkin [ sanja ] Igor Babaev [ igor ]
          igor Igor Babaev (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]

          A fix for this bug was pushed into 10.4

          igor Igor Babaev (Inactive) added a comment - A fix for this bug was pushed into 10.4
          igor Igor Babaev (Inactive) made changes -
          Fix Version/s 10.4.5 [ 23311 ]
          Fix Version/s 10.4 [ 22408 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 92779 ] MariaDB v4 [ 155767 ]

          People

            igor Igor Babaev (Inactive)
            elenst Elena Stepanova
            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.