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

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

    XMLWordPrintable

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

            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.