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

Wrong results of query, using brackets and LIMIT and VALUES()

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.4(EOL)
    • N/A
    • N/A
    • None

    Description

      MariaDB [test]> SELECT 1 union (values (2),(4) limit 1);
      +---+
      | 1 |
      +---+
      | 1 |
      | 2 |
      | 4 |
      +---+
      3 rows in set (0.001 sec)
       
      MariaDB [test]> values (2),(4) limit 1;
      +---+
      | 2 |
      +---+
      | 2 |
      +---+
      1 row in set (0.000 sec)
      

      Attachments

        Issue Links

          Activity

            alice Alice Sherepa created issue -
            alice Alice Sherepa made changes -
            Field Original Value New Value
            Assignee Igor Babaev [ igor ] Alice Sherepa [ alice ]
            alice Alice Sherepa made changes -
            alice Alice Sherepa made changes -
            Component/s N/A [ 14411 ]
            Fix Version/s N/A [ 14700 ]
            Fix Version/s 10.4 [ 22408 ]
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 96341 ] MariaDB v4 [ 156112 ]

            People

              alice Alice Sherepa
              alice Alice Sherepa
              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.